foss-for-synopsys-dwc-arc-processors / embarc_osp

embARC Open Software Platform (OSP) - An embedded software distribution for IoT and other embedded applications for ARC
https://www.embarc.org/
BSD 3-Clause "New" or "Revised" License
70 stars 62 forks source link

IOTDK SDcard can not read my own project #146

Closed L-leopold closed 3 years ago

L-leopold commented 3 years ago

Issue Summary


Bug

Development Environment

Press any button on board to stop auto boot in 5 s . . . . . Start loading 0:\boot.bin from sdcard to 0x20000000 and run... led out: f, ff**

I can run the boadloader successfully,but when I add my own project bin in sdcard, it doesn't work. and its tip is as stated above Press any button doesn't work ,sorry to bother you.Could you please help me ?

Enhancement

Describe the enhancement you suggest to add in details. Explain why you want this enhancement to be added, what are the pros and cons? Do you have any initial implementation about this enhancement, if yes, post link here.


Question

Input your question in details here.

IRISZZW commented 3 years ago

Can you provide the generated linker script and map files? These file usually located in the output folder, named .map and .ldf.

L-leopold commented 3 years ago

mw_arcem9d.zip

IRISZZW commented 3 years ago

Have you flash the bootloader into the elfash ? https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/issues/129#issuecomment-522472862

L-leopold commented 3 years ago

Yes, of course , I follow the procedure of the instruction. Use this command : flash -eflash test.bin and next I copyed my own bin into SDcard ,and rename it to boot.bin next I put the reset button ,but it doesn't respond,so I have to rerun the bootloader example. it tips: image

I think it needs *.json document. So I copyed the json document of bootloader example in Sdcard. But when I put the json file in it , it jumped into ntshell directly.