K32W041 - read configuration from memory dump

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K32W041 - read configuration from memory dump

926 次查看
hres
Contributor I
I have a board with integrated K32W041 chip but I don't know how it's configured. Communication is possible via UART. Is it possible to read the pin and clock configuration from memory dumps made with dk6prog?
 
Regards,
标签 (1)
0 项奖励
回复
6 回复数

906 次查看
hres
Contributor I

This is a custom board. Currently there is a firmware that allows to configure it from phone on first start.

I would like to prepare firmware with Thread support and run Thread Boarder Router.

Info from dk6prog:

Chip ID: 0x88888888
ROM Version: 0x140000cc
MAC Address: xx:xx:xx:xx:xx:xx:xx:xx

Detected DEVICE: K32W041

  Memory   Memory ID   Base Address   Length    Sector Size   Memory Type   Access            
----------------------------------------------------------------------------------------------
  FLASH    0           0x0            0x9de00   0x200         FLASH         All is available  
  PSECT    1           0x0            0x1e0     0x10          FLASH         All is available  
  pFLASH   2           0x0            0x1e0     0x10          FLASH         All is available  
  Config   3           0x9fc00        0x200     0x200         FLASH         All is available  
  EFUSE    4           0x0            0x80      0x2           EFUSE (OTP)   Write Enabled     
  ROM      5           0x3000000      0x20000   0x1           ROM           Write Enabled     
  RAM0     6           0x4000000      0x16000   0x1           RAM           Write Enabled     
  RAM1     7           0x4020000      0x10000   0x1           RAM           Write Enabled

 

0 项奖励
回复

858 次查看
luis_maravilla
NXP Employee
NXP Employee

For testing Thread examples and more information about commands please refer to NXP Github

GitHub - NXP/ot-nxp: OpenThread on NXP examples.

0 项奖励
回复

830 次查看
hres
Contributor I
Thank you for your answer. I know that there are examples of how to prepare the appropriate firmware with support for Thread.

I wonder if it is possible to read the current configuration(pins, clocks), for example, using MCUXpresso?
The problem is that the system is connected directly to the SoC, but I don't know, for example, which GPIOs were used.
0 项奖励
回复

779 次查看
luis_maravilla
NXP Employee
NXP Employee
Hi
No, it's not possible to read, The GPIOs/CLK should be declared in the programming code.

Best Regards
0 项奖励
回复

764 次查看
hres
Contributor I
Thank you for your answer. I'm afraid that if I use the firmware from the example I will lose contact with the chip.

Are there sources for the "NXP K32W Device Programmer" application available somewhere?
0 项奖励
回复

912 次查看
luis_maravilla
NXP Employee
NXP Employee

Hi

Are you working with a development kit? Or is it a custom board?

Can you comment on what application did you flashed on the chip?

 

Regards

Luis

0 项奖励
回复