programming from S19 files

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

programming from S19 files

3,356 次查看
rlw
Contributor I
Currently using a P&E Multilink 12 USB directly with CodeWarrior.

The development module from our client *had* calibrations in it, but I accidently erased them. The client can give us an S19 file, but we do not have any way to program the S12X other than via CodeWarrior.

I am unable to find anyway that CW can read the S19 file and program it into the S12X.

The only other software I have found is P&E's PROGR12Z program, but that will cost us extra moeny the client is unwilling to reimburse us for.

The only remaining alternative is to wait for the client to send us another module.

Is there a way to get CodeWarrior to read and program from the S19 file?

Is there another (low cost) solution?
标签 (1)
0 项奖励
2 回复数

602 次查看
mke_et
Contributor IV
I wonder... If you have access to an 'image' instead of S19 files, can't you just code in your program to treat the image as 'data', then let CW put it in the part? You'd probably have to break up the data for positional reasons, like placing the int vector table, but that shouldn't be hard.

Heck, write a program to walk your S19 file and 'map' it to individual files with known locations and contiguous blocks. (Ok, you could just use one massive block...) Then just write a 'wrapper' in CW to include the blocks as data, program and go.

Mike
0 项奖励

602 次查看
CompilerGuru
NXP Employee
NXP Employee
The HIWAVE debugger (used by CodeWarrior) does actually support to load (and flash) srecords with the File->Load Application dialog, just the same way as it supports to load ELF files.
When loading an SRecord, you wont have symbolic debugging tough.

Daniel
0 项奖励