Casper Loader Register

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

Casper Loader Register

1,189 Views
albertobattistello
Contributor II

Hi,

I'm trying to use LPC55S69's CASPER's LOADER register, described in Sec 45.4.3 of UM11424 (i.e Register 0x400_A5000 offset 0x8). 

I haven’t found any example of how it should be used in the SDK, if you have an example it would be great.

What I've tried is to store in Casper's RAM (offset 0xc00 for example) the value that I would have written to CTRL0 and CTRL1 in one DoubleWorld (that is CTRL0 word in 0x400_0c00, CTRL1 in 0x400_4c00). In my example I've used the values:
CTRL0
  ABBPAIR = 0
  ABOFF = 0
  CDBPAIR = 0
  CDOFF = 0

CTRL1
  Iter = 4
  Mode = "Zero"
  RESOFF = 0x00.
  CSKIP = No skip = 0x00
Thus I wrote CTRL0 = 0x00000000, CTRL1 = 0x00001704.
Then I wrote into the LOADER register the value 0x30000001. In my intentions it should instruct it to point to offset 0xc00 and run for 1 iteration.

Afterwards I started polling the IDLE/Busy bit to know when execution was finished.

Unfortunately execution never finished, the STATUS register always returned 0x20 (and sometimes 0x30). Furthermore, no word in 0x00 was set to 0x00.

If you have any advice on using this register or a code snippet, it would be great.

Labels (2)
0 Kudos
Reply
1 Reply

1,096 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @albertobattistello 

I just wanted to maintain you updated on this ( you may remember a email that I send you while ago, via internal support system)

Currently there are no implementations on the LPC55 SDK for CASPER loader registers that we could take as a reference. Also we have not seen problems with your implementation, that could explain why this could not work. Therefore we are reviewing with relative API owners.

My apologies for any inconvenience and many thanks for your patience. 

Diego.

0 Kudos
Reply