How to recover ls1012 frdm board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to recover ls1012 frdm board?

Jump to solution
1,468 Views
kishanpatel78
Contributor I

Hello,

 

I am using ls1012afrdm board . After successfully updating u-boot on board using codewarrior TAP device did not come up again.

Case 1:

Steps Followed :

  1. Environment setup for flashing image using codewarrior TAP.
  2. Open codewarrior studio and select target device,Activate it and clickon flash programmer.
  3. You will get prompt to select action and execute it.
  4. For u-boot i used attached binary at 0x100000 offset with erase and verify option.
  5. It runs successfully. than i reset board. But it did not come up .

 

Case 2 :

After running above steps I tried to flash u-boot again using codewarrior studio but in between codewarrior studio stops.

Now when i am trying to connect device it gives me following error.

 

CCS: subcore error during multicore operation.

 

After running diagnostics i found following result.

Detail

 

Failed to execute target initialization script.

 

ERROR: Target reset failed.

Python Exception <class 'gdb.error'> Protocol error with Rcmd:

Traceback (most recent call last):

  File "xxx/codewarrier/ProgrammerWorkspace/P2/.metadata/.plugins/com.freescale.debug.tcc/targetInit.py", line 298, in <module>

run_init_file()

  File "xxx/codewarrier/ProgrammerWorkspace/P2/.metadata/.plugins/com.freescale.debug.tcc/targetInit.py", line 287, in run_init_file Reset()

  File "xxx/codewarrier/ProgrammerWorkspace/P2/.metadata/.plugins/com.freescale.debug.tcc/targetInit.py", line 90, in Reset   gdb.execute("py-reset %d" % user_reset_delay)

gdb.error: Error occurred in Python command: Protocol error with Rcmd

Failed to execute target initialization script

 

Please help me to fix this issue.

Help Appreciated.

 

Regards,

Kishan Patel

Original Attachment has been moved to: u-boot-qspi-2016.09+fslgit-r0.bin.zip

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,006 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kishan Patel,

Probably RCW on QSPI flash has already been broken.

Please refer to the procedure described in the thread https://community.nxp.com/message/852508?commentID=852508#comment-852508 to do recovery.

Thanks,

Yiping

View solution in original post

0 Kudos
2 Replies
1,007 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kishan Patel,

Probably RCW on QSPI flash has already been broken.

Please refer to the procedure described in the thread https://community.nxp.com/message/852508?commentID=852508#comment-852508 to do recovery.

Thanks,

Yiping

0 Kudos
1,006 Views
kishanpatel78
Contributor I

Hello yipingwang 

I have bare board with LS1012ASE7HKA referenced from freedom. When I am trying to connect JTAG using codewarrior TAP at speed of 16000 it gives following error.

connectError.jpg

On freedom board i can connect code warrior with same configuration.

What could be the possible solution to flash image.

1) Does CMSIS debugger comes into picture for connecting Codewarrior to Processors JTAG?

I have flashed CMSIS Debugger bootloader and firmware and it is working ok.

2) Is there any changes on processor PLS1012ASE7HKA and LS1012ASE7HKA to connect with JTAG?

3) Do I need to modify LS1012A_FRDM_init.py for connecting JTAG with processor LS1012ASE7HKA?

Power up sequence , Clock(25MHz), and reset configuration  match as per datasheet requirement.

Regards,

Kishan Patel

0 Kudos