Memory export of peripherals doesn't work

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

Memory export of peripherals doesn't work

991件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by miccio on Fri Apr 29 05:47:40 MST 2016
Hello fellow LPCXpresso users (and developers alike),

I wanted to export a memory dump from the GPIO registers to compare it with another project (little side note here: the peripheral view in the memory panel is pretty awesome, but sometimes scrolling through hundreds of entries is very impractical).

When performing such action from the Export button in the memory panel, I only get 0s in the file.
This only seems to apply to peripherals, as RAM seem to get exported successfully.
I haven't tested flash addresses.

Using the gdb command dump yields the right result:
dump memory ciao.txt 0x1c000000 0x1c000050

in file ciao.txt:
0100 0001 0101 0100 0101 0101 0101 0101
0101 0101 0001 0000 0101 0100 0101 0101
0101 0101 0101 0101 0101 0101 0101 0101
0101 0101 0101 0101 0101 0101 0101 0101
0101 0101 0101 0101 0101 0101 0101 0000



My system:
- LPCXpresso 8.1.4
- Linux Mint 17.3

What might be the cause? Thanks in advance
0 件の賞賛
返信
3 返答(返信)

964件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信

964件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by miccio on Fri May 20 02:45:08 MST 2016

Quote:
Thank you for bringing this to our attention!


Anytime ;)



Quote:
An alternative approach which should deliver the what you are looking for is to right click within a peripheral rendering and save (export) a .csv file of the peripheral.


This is a very handy feature, thanks for the heads up. However if I may propose a suggestion, I'd say that XML, JSON, or YAML would be a far more suitable way of encoding registers data.
After all, ARM's CMSIS-SVD technology itself is based on XML.
0 件の賞賛
返信

964件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon May 16 04:57:29 MST 2016

We have taken a look at this area of code and can see there is indeed a problem - only zero's are returned as you report.

We will look to remedy this in a future release of LPCXpresso IDE. Thank you for bringing this to our attention!

An alternative approach which should deliver the what you are looking for is to right click within a peripheral rendering and save (export) a .csv file of the peripheral.

Yours,

LPCXpresso-support
0 件の賞賛
返信