Hi All,
My u-boot is bricked. The flash type is NAND flash. Can I recovery it with DSTREAM? I googled and did not find a document about this.
Thanks.
Tony
Hi Tony, this is difficult to answer without more information - do you have a DSTREAM to test, or are you asking if this is the right tool for your needs?
DSTREAM, used in conjunction with Arm Development Studio, should be able to connect to your board, and do all standard debug operations (stop, step, view memory, registers etc). However depending on the nature of your issue, you may see problems... if the problem is that the memory system is "bricking", such that the processor cannot fetch instructions, then that it likely beyond the scope of what DSTREAM (or any JTAG based tool) can resolve (though it will help diagnose that that is the issue).
Hi Ronan,
Yes, I have a DSTREAM to test. I'm sure my bootloader(u-boot) is broken because wrong code is burnt into the NAND flash. Now the board is not up. In fact, I have a document about how to use TRACE32 to load the image file of bootloader into DDR. Then bring up the board by this bootloader and write the image stored in DDR into the NAND flash. But I don't have TRACE32. I expect DSTREAM can do similar thing.
Hi Tony,
The loadfile command should just load the image directly to memory, assuming it is writable.https://developer.arm.com/docs/101471/1910/arm-debugger-commands/arm-debugger-commands-listed-in-alphabetical-order/loadfileIf you can share the document you have I can be more specific on the differences.Regards,
Ronan
I'm sorry I can not share the document pubic. But I can send to you privately. Is it OK? Thanks a lot.
I recommend using Support -> Open a support case from the above menu to raise an official request with Arm, and we can track it there (please reference this thread).