Hi, I’m using Codewarrior 5.1 for programming 13213-SRB and 13213-NCB board.
First I load the Bootloader_embebbed with TestTool successful on either boards.
Then I load a demo application (Start Network Demo (Coordinator and End Devices)) with Freescale Beekit: I export these solutions for compiling and uploading the code.
With Codewarrior I import the file created with Beekit and create a new project: I specify the MCU model (HCS08, MCU 9S08AW60). I compile the code successful and when I try to upload the application on the boards with True-Time Simulator and Real-Time Debugger the tool stops with this message (during memory programming):
Error 18 during script!
Moreover the tool doesn’t erase the memory before programming.
In Codewarrior I use BDM programmer cable with USB Multilink interface.
I’ve tried many modifications, but no success.
Thank you
I try to erase memory with expert programmer mode, but the command ERASE MODULE gives me a error (couldn't erase memory). So I try to use ERASE BYTE and ERASE WORD, but these aren't active: I try to modify the file .S8P for change the set up without success. I don't find in www.pemicro.com a user's guide for this tool, so I find difficult to understand how work and change set up.
I decided use RESET CHIP and this command appears work correctly: but when I try to program the memory I always find the error 18. I try many times and only one I successful program the board.
How can I resolve this problem?
Thanks