Hi Betty
you can use attached example (it is based on SDK and is loaded using MFG Tool to
iRAM 0x909000).
For Uboot usage one needs to change startup.s:
| ivt_header | B startup | ;DCD 0x402000D1 | | |
| app_code_jump_vector | B startup | ;DCD startup |
| | DCD 0 |
| dcd_ptr | DCD 0 |
| boot_data_ptr | DCD boot_data |
| self_ptr | DCD ivt_header |
| | DCD 0 |
| | DCD 0 |
| boot_data | DCD 0x00909000 |
| image_len | DCD end_image-ivt_header ; 0x10000 ; 64 KB app size |
| plugin | DCD 0 |
startup:
=====================
In Uboot execute commands:
loady 0x909000
2C is offset of startup from loading position (0x909000).
Uboot loady should not use elf file and it is better to try MFG Tool with WinXP.
Also check that correct usb connector (one is USB-COM) on IMX6 SABRE board is used for usb.
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------