This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, could you help me, please, with my misunderstanding?
I load simple UART example (*.dat) into NOR flash. Then I boot DSP from this flash. Everything works correctly (rev.2).
Then I try to boot via IBL NOR boot. But there is only "ibl: booting from nor" in hypertherminal. It means that default project was loaded and I would like to load my UART example, which was loaded into the same nor flash.
Is it possible to load from IBL first and then ftom SPI with my example? This way of booting I need for rev.1.
Thank you in advance, Yuliya.
Yuliya,
Could you please specify what device are you using? Are you running this test on the EVM?
Have you changed the production IBL image in the I2C EEPROM since you got the board? Booting from IBL and then from SPI NOR has been demonstrated using the post and the demo image that is provided int he MCSDK so this booting scheme is possible.
After the boot fails, have you connected to the EVM and checked where the device is hung at. Please provide the value of the Program counter (PC) from register view. ALso if this is C6678/C670 device, please run the debug GEL file from the http://processors.wiki.ti.com/index.php/Keystone_Device_Architecture and provide us the log of the failure.
Regards,
Rahul
Rahul,
thank you for reply. I use TMDSEVM6678L. I've changed IBL image to I2crom_0x51_c6678_le.bin from mcsdk_2_00_xx_xx\tools\boot_loader\ibl\src\make\bin as were mentioned in BIOS MCSDK 2.0 UserGuide.pdf. Is it correct?
I tried to load POST image. Here are the results of the experiment.
When I load the POST from I2C (sw3 (1,2,3,4) 1,1,0,1; sw4 0,0,0,0; sw5 0,0,0,0; sw6 0,0,0,0) everything works correctly
When I load POST image (post_i2crom.bin) into nor flash or my_example.dat (with UART) and then try to boot from I2C+spi nor flash (sw3 (1,2,3,4) 1,1,0,1; sw4 0,0,0,0; sw5 0,0,0,1; sw6 0,0,0,0)
I see in HyperTerminal IBL:booting from NOR (the Program Counter is 0x20b00000)
or something like this
I guess there is something wrong with image, which I load to NOR flash. What should I load to flash? *.bin or *.dat files. Should I change boot parameter table or something else?
Best regards, Yuliya.
The problem was solved.
1. Load I2crom_0x51_c6678_le.bin and i2c_param to EEPROM.
2. Add osal function to my_example.c and make my_example.out file
3. Rename my_example.out to my_example.bin and load NOR flash.
4. Turn off evm.
5. Set SW (sw3 (1,2,3,4) 1,1,0,1; sw4 0,0,0,0; sw5 0,0,0,1; sw6 0,0,0,0) to boot from I2C+spi nor flash.