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,
I tried to writing flash memory, but I encounter error when loading UBL. target board is DM368 ipnc and CCS is Verion 5. At first, I success flash memory writing with nand flash writing program supported by ipnc SDK, but, If I try again with TI DM368 EVM nand writer program , it occured " Does not match the target endianness" error. then try again ipnc flash writing program supported by ipnc SDK, it still occured same error forever.
error messages are :
ARM9: GEL Output:
DM368 EVM ARM Startup Sequence
ARM9: GEL Output: Disable IRQ/FIQ
ARM9: GEL Output: Flush Cache
ARM9: GEL Output: Disable MMU
ARM9: GEL Output: Setup Power Modules (All on)...ARM9: GEL Output: [Done]
ARM9: GEL Output: Setup PinMux...ARM9: GEL Output: [Done]
ARM9: GEL Output: Setup PLL1...ARM9: GEL Output: [Done]
ARM9: GEL Output: Setup PLL2...ARM9: GEL Output: [Done]
ARM9: GEL Output: Setup DDR2... (340MHz)
ARM9: GEL Output: DDR2 init is done for 16-bit Interface
ARM9: GEL Output: [Done]
ARM9: GEL Output:
Startup Complete.
ARM9: GEL Output: Disable VPSS
ARM9: GEL Output: Disable IRQ/FIQ
ARM9: GEL Output: Flush Cache
ARM9: GEL Output: Disable MMU
ARM9: GEL Output: Disable EDMA events
ARM9: GEL Output:
ARM9: GEL: File: E:\workspace_test\util\flash_utils_dm36x_2.1.0\DM36x\CCS\UBL\NAND\UBL_DM36x_NAND_IPNC.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).
BR,
Choi
Hi,
do you know if you are using big or little endian? Have you tried switching between the two? How did you set the target up between these settings?
Best Regards
Lisa
Hi Lisa,
I am using little endian now. I think it could be set project property. right? If you know another point should be set endian, please, let me know.
BR,
Choi
Hi Choi,
I would double check your settings and GEL file to make sure they are all consistent. Ie if you want to use little endian that all settings reflect this. If not, then all settings should reflect big endian. What settings do you use?
If you change to big endian in your project->properties->general do you still get the error?
Best Regards,
Lisa
Hi Lisa,
I would like to know exact settings I should check.
My development environment are :
1. jtag emulator : Spectrum Digital XDS510 USB
2. gel fiie : evmdm368.gel (I attach gel file this thread)
3. my project property :
after debug connection :
especially above picture appear after I try load program then do cpu reset.
I only guess this symptom would be occurred when I try jtag on running Linux.
BR,
Choi
Hi Choi,
could you check/verify a couple things.
- was the .out file you are trying to load generated using little endian code?
- in your project settings (the necessary part was not shown in your screenshot) could you verify you have little endian set. See my screenshot below how to do this. Project->Properties->General ... you need to expand advanced settings on the righ ...see my screenshot.
Please keep us informed.
Best Regards,
Lisa
Hi Lisa,
I resolve this problem with your project property setting. problem seems that I miss Device endianess and variant.
Thank you for your support.
BR,
Choi
Hi Choi,
glad to hear all is resolved. All the best with development.
Best Regards,
Lisa