FS32K144 Program FOPT Register

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FS32K144 Program FOPT Register

1,522件の閲覧回数
gary_yang
Contributor I

Hi,

We tested the address 0x40D (FOPT Register) write 0x7F, after address 0x400 can not read

If 0xFF is written at address 0x40D (FOPT Register), it can be read correctly.

Kindly give us your advice. Thank you.

Regards,

Gary

タグ(3)
0 件の賞賛
7 返答(返信)

1,298件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

um, I'm lost a little bit. What you mean by after address 0x400 can not read? 

In my case - there is 7F  in FOPT, and memory can be read without any issue: 

pastedImage_1.png

Jiri

0 件の賞賛

1,298件の閲覧回数
gary_yang
Contributor I

Hi, 

I programmed the hex file (address 0x40D write 0x7F), read back and found that address after  0x400 can not be read correctly.

01.jpg

But programming the same hex file (changing address 0x40D to write 0xFF or 0xDF) can be read correctly,

02.jpg

03.jpg

Kindly give us your advice. Thank you.

 

Regards,

Gary

0 件の賞賛

1,298件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

what software and debug probe are you using? 

Jiri

0 件の賞賛

1,298件の閲覧回数
gary_yang
Contributor I

Hi,

We are programmer manufacturer.

Currently encountered problems in the development of FS32K144 programming process,that is the picture of our software and we used J-Link in debug and verify.

Thank you

Regards,

Gary

0 件の賞賛

1,298件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I tried the same scenario with Segger J-Link - SEGGER J-Link GDB Server V6.42a - and there is no issue with memory read when FOPT contains 0x7F. There must be some issue with your SW. 

pastedImage_1.png

Jiri

0 件の賞賛

1,298件の閲覧回数
gary_yang
Contributor I

Hi,

I think that our software must set registers during initialization and avoid problems.

Can you help us with suggestions?

Thank you

 

Regards,

Gary

0 件の賞賛

1,298件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

to be honest, I'm not familiar with debugger low level communication. But you can compare - for example - register content for PE micro (or segger) debug session with your debug session and try to find differences. 

Jiri

0 件の賞賛