Please helllp me!)
I have scheme that is using VS 1000 + eeprom via spi as a place where program will be put during programming - i hope so at least)
Ive read examples and manual - now what i ve concluded out of it :
1) We need c++ code - for example
#include <stdio.h>
void main (void)
{
unsigned int i;
i = 5;
}
It does nothing - but it doesnt matter.
2)Nex t what we need is .img file - its clear to see from guide_vs1000.pdf chapter 3.6 how to get it from our source code.
Then - only my assumptions.
We have to download RUN file from here: http://www.vlsi.fi/en/support/software/ ... mples.html (spiflasher.c highlight)
and put it in one dir with .img file. Now we have a pair of files that allow us program the device.
Next, we connect USB after what we put supply and waiting for NO_FLASH window. We put 2 files there , close window and putting off the supply , we wait 1-5 sec - we have to hear a sound - indidcator of correct programming. Then as i think we can deattach USB and program will run each time we connect supply.
Thats ALL
Question - from where I AM WRONG ? THANK YOU
BOOT FROM EEPROM, PROGRAM VIA EEPROM
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
If its possible - answer as fast as you can, thank you
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
any support workers visit this forum?!
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
Hi HeLiO,
yes, there are support workers in this forum.
But it is weekend - you cannot expect them to answer questions 24/7.
Your questions will probably be answered during the next week.
Good luck,
--Stefan
yes, there are support workers in this forum.
But it is weekend - you cannot expect them to answer questions 24/7.
Your questions will probably be answered during the next week.
Good luck,
--Stefan
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
Tnx for pre- answer, will be waiting for answers
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
Fprum and support are dead ?
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
spiflasher.c and the associated VS1000_B.RUN are intended for programming the NAND FLASH boot image.HeLiO wrote:I have scheme that is using VS 1000 + eeprom via spi as a place where program will be put during programming - i hope so at least)
With SPI EEPROM or SPI FLASH the easiest way to program is to use the UART connection.
For example prommer24.c (compiled and linked to prommer24.bin) opens a file on the PC (I assume it was boot.img), and programs it into a SPI FLASH with 24-bit addresses.
(check full example from http://www.vlsi.fi/en/support/evaluatio ... layer.html or http://www.vlsi.fi/en/products/vs1000module.html )
The newest release of VSIDE may already have some support for SPI and NAND memories, but I'm not 100% upto date what kind of documentation there is for it.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: BOOT FROM EEPROM, PROGRAM VIA EEPROM
i managed to do this, tnx!
I had SI and SO pins connected in wrong way to VS 1000.. Tnx to my work mate..)
I had SI and SO pins connected in wrong way to VS 1000.. Tnx to my work mate..)