I have recently taken the board of PHYTEC containing LPC3250. When I loaded an application to flash that is Blinky program from KEIL using ULINK2, I think the S1 loader has been erased. <How can I reload this S1 Loader?>
Regards, Bharathi
I had the same need about a month ago.
It's worth you looking through the Phytec FAQs.
See:
www.phytec.com/.../index.php
Hi Thank you for immediate response, and your suggestion is helpful. But using that method what you had suggested I am getting one problem. I am trying to send stage1.bin file, its getting loaded directly into SDRAM instead of getting stored in NAND Flash. My main intention is to restore Stage 1 Loader in NAND Flash so that the next time onwards it has to do his job directly. But now its not doing like that, If I rest the board again I have to do everything. Can you help me in this.
Thank you in advance..
Hi,
Sorry, but I can't remember the exact details, and I'm too busy ATM to look further.
I suggest you check the configuration that you use for the download, you can update the NAND flash.
You can also look at the subdirectory:
\Keil\Arm\Boards\Phytec\LPC3250
There you can see bootloaders for NOR and NAND.
From memory, I think these are functionally equivalent to the Phytec method mentioned in the FAQ.
Hi Thank you for your assistance. I will try to find out the solution.
Keil MDK contains Bootloader and Blinky example, if you want Blinky to work you have to download also appropriate Bootloader to flash.
If S1 loader is smaller than 16kB you can convert it to hex format, starting on address 0 and use Flash alforithm LPC3000 NAND Flash SP to download it to NAND, you also need to use Prog_NAND.ini script for programming.
Easiest way is to convert bin to hex, and then in project Bootloader_NAND write the name of your hex file in Options for Target -> Name of Executable field (write complete name with .hex, for exmple "S1_Loader.hex") and start flash download.