USB Multilink and S19 files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Multilink and S19 files

997 Views
Giox79
Contributor I

Good morning I have a question may be quite simple, but I'm not able to solve it.

I'm facing a low volume production (about 400 devices based on HCS08 device) and I have to setup a fast as possible production platform.

We don't have at present time devices like the Cyclone pro programmer that allows to program Serial Number but we have this one:

 

http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33&menu_id=details&CFID=7157374&C....

 

 

I need to perform the following steps during the production:

 

  1. Generate a abs/s19 code image (operation performed once)
  2. Modify an ad hoc flash location that contains the serial number: I will be able to perform this task using a command line program that edit the S19 file format (not the abs one)
  3. Burn the SW on the device
  4. go to 1
  5. in pipeline with step 4, a user connect the board previously programmed to a PC to share some secret key, indexed based on the device SN

 

I'm however facing a problem: I'm able to modify the s19 file, but how to burn it on board.

I tried creating a new debug configuration in Code Warrior menu, but I'm not able to force him accept as application a S19 file, but only an abs one.

Is there some different setup that I can adopt to meet my requirement?

 

If there is no way to face this problem, I will force a init step so that when connected to serial interface, as first packet the board waits for its serial number, store it in flash and then support the other commands.

 

Any help searching for a more efficient (fast) setup configuration will be really appreciated.

Best regards to the members of the forum.

Giovanni

Labels (1)
0 Kudos
5 Replies

459 Views
bigmac
Specialist III

Hello Giovanni,

 

Have you looked at the suitability of the PE Micro "Serialize" utility?

 

Regards,

Mac

 

0 Kudos

459 Views
Giox79
Contributor I

Hi, thanks for your help.

I have to be frank I read something about this topic, but I thought it will work only with Cyclone programmer

http://www.pemicro.com/blog/post.cfm/automatic-serial-number-handling-in-cyclone-pro-max-stand-alone...

 

Do you think there is some way to use it with my programmer?

0 Kudos

459 Views
bigmac
Specialist III

Hello Giovanni,

 

I have never used this utility, but my understanding is that it is compatible with both Multilink and Cyclone programming interface.  However, I am not sure about its compatibility with CW.  It should work with PE Micro stand-alone programmer software PROGHCS08.

 

Regards,

Mac

 

0 Kudos

459 Views
Giox79
Contributor I

Thanks a lot for your feedback, may be I will give a try to PE tool.

I will hower further investigate if there is some way by which I can write S19 file through my PE programmer.

Have a nice day

Gio

0 Kudos

459 Views
peg
Senior Contributor IV

Hello,

 

The Serialize utility is a simple application that generates a small file that contains the serial number and the address to put it.

P&E's software then can read this file and programme the serial number into the flash. It will work with the multilink or the cyclone.

It should (used to) work with Codewarrior, if you select Expert programming mode you get access to the P&E programmer that then gives you access to the serial number programming commands.

 

The programming is done in two passes, first you programme your code. Then you programme the serial number. You need to have left the serial number locations unprogrammed for this to work. This "double programming" is frowned upon by Freescale, but there you go.

 

The scripted command line version of the programmer can automate this all for you.

0 Kudos