Can't work with Serial Flash Loader and sflash.exe
Hi all,
When I use the Serial Flash Loader and sflash.exe from the http://www.luminarymicro.com/products/software_updates.html, it can't run my application right. Any suggestion? I do it as the below: 1. Download the tgpio.bin with Jtag with address 0x0,it work right. 2. Then download bootloader.bin with address 0x0, and download tgpio.bin with 0x800 as below: G:TrainingbookLuminary_docdatasheetSoftwareBootloaderSerial Flash Loader> sflash tgpio.bin -p 0x800 -r 0x9c4 -c 1
Application : tgpio.bin Program Address: 0x800 COM Port: COM1 Baud Rate: 115200 Erasing Flash: Remaining Bytes: 00000000 Running from address 000009c4 Successfully downloaded to device.
But I can't observe the app blink the LED as download it with 0x0.
I also use jtag to verify the bin file downloading with sflash, which is indeed same as bin file.
And when I using jtag change PC to it, it will work right.
I doubt the bootloader don't run my app right, Or it should blink the LED.
I hope someone can help me, thanks.
johnson
login or register to reply
|