K32W DK6Programmer.exe

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

K32W DK6Programmer.exe

3,215件の閲覧回数
danieltseng
Contributor V

When I execute  " DK6Programmer.exe -s COM29 -p heart.bin"
Only the appropriate size will be cleared
1. What is the sector block?
2. How can I clear all Flash?

ラベル(1)
  • KW

4 返答(返信)

3,128件の閲覧回数
danieltseng
Contributor V


Thanks for your reply, I have understood.

3,128件の閲覧回数
danieltseng
Contributor V

The following is my interpretation:
1.  First example: Erase all Flash
2.  Second example: only Erase 64k
So Erase is based on page, not sector block (example: KW41, sector block = 2k)
Is the above description correct?

0 件の賞賛
返信

3,128件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Daniel,

The second example is erasing a page of 512 bytes with an offset of the 64KB. The binary.bin must be less than 64KB.

This erase process is based on page

Regards,

Mario

0 件の賞賛
返信

3,128件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Daniel,

I hope you are doing great.

You could look at the table in the 2.1Command Options Chapter.

DK6 Production Flash Programmer User Guide JN-UG-3127

pastedImage_1.png

Please look at the next examples.

The following command will first erase all the flash and then flash the binary (binary.bin) at address 0x00000000:
DK6Programmer.exe -s COM56 -e FLASH -p binary.bin

As another example, the following command will first flash the binary (binary.bin) at address 0x00000000 and then erase one page of flash (512 bytes) at offset = 64Kb (the assumption is made here that size of binary.bin is less than 64K):
DK6Programmer.exe -s COM56 -p binary.bin -e FLASH:512@65536

Regards,

Mario