Something went wrong while flashing the rootfs in u-boot, now not even u-boot starts.
Is there a way to maybe use the mbed interface to get things alive again?
Uboot should be programmed at offset 0x100000.
Adrian
Thank you Adrian, now there is the hard coded RCW enabled. For the PBL i'll use offset 0, but for u-boot-qsqp.. is there an offset to assign when i program it with the CW?
Thank you!
Dom
The LS1012a mbed interface hardware can be used as Flash programmer using JTAG connection. Now there is no software for using the LS1012a mbed interface as Flash programmer.
Now mbed interface can be used as Flash programmer for NXP LPC family and Freescale MK family.
See the following page:
https://developer.mbed.org/handbook/cmsis-dap-interface-firmware
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
CodeWarrior for ARMv8 supports LS1012FRDM board including Flash Programmer. The problem reported by Han is when RCW is missing from the board. In this case cmsis-dap (mbed interface) is not able to provide RCW override capabilities and a CWTAP must be used.
I m trying to use CodeWarrior for ARMv8 to Flash the LS1012FRDM with the MBED CMSIS-DAP.
I get this error: "Connect Target: .... Unexpected results in IDCODE could indicate a wrong target is selected."
The selected target is LS1012A
What's wrong in my configuration?
Thank you!
Could you provide a ccs verbose log (in ccs console issue: log v) when trying to connect to board?
Adrian
Hi Adrian, here the log CCS LOG - Pastebin.com
Thank you!
Dom
It seems to be a cmsisdap driver issue. Try to reinstall it.
Adrian
Hi Adrian, solved!!! Mounting R50 it's now possible to connect the Target. The RCW was erased.
Now i can write on the QSPI but which binary file i need to flash to restore the original system with U-BOOT and Kernel for LS1012A-FRDM board?
Thank you!!!
Dom
I uninstalled the driver and Win10 automatically reassigned USB Serial Device when the board has been replugged.
But i have always the same error.
Thank you!
dom
Do i need a specific driver? The device is detected as MBED CMSIS-DAP
sometime i get this log Core not in debug - Pastebin.com
It seems to go ahead, but at the end there is an error.
Using mbed interface (cmsis-dap) will not help in this case. You have to use CodeWarrior and CodeWarrior TAP fro board recovery.
Adrian
I tried CodeWarrior Development Studio for QorIO LS series - ARM V8 ISA.
- Is there a document describing the flashing of this board.
- The LS1012 is not one of the processor I can select in the CodeWarrior tool
- tried to use an PE MIcro MulitlinkUniversal
Take a look at Targeting manual available at CW_ARMv8\ARMv8\Help\PDF\. For adding LS1012 support youi have to update the CW using Help > Install New Software and select ARMv8 Eclipse Update Site.
Adrian
Hi Adrian,
I am having the same problem as HAN but I have the FRDM-LS1012A dev. board. Shouldn't I be able to use USB interface directly with CW? I want to avoid the unnecessary need to buy an actual CW TAP Device.
Thanks!
Regards,
Kristof
If RCW is missing from the board, the only way to recover the board is to use CWTAP. CMSIS-DAP interface doesn't provide access to sap, which is necessary for RCW override.
Adrian
Got a CodeWarrior TAP and could flash a new image in the board. It's alive again.
Thanks for the help.
I am a newbie, can you please share a link that explains how to use a CW USBtap to unbrick FRDM-LS1012a
Thanks in advance