CW 5.1 - 9S08RE16 with Multilink and Cyclone Pro

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

CW 5.1 - 9S08RE16 with Multilink and Cyclone Pro

Jump to solution
2,028 Views
stevec
Contributor III
I'm not sure where to present this problem but this forum has been very helpful in the past. I have done all my development with CW 5.1 and using P&E USB Multilink interface to get the code into the target via the CW True-Time Simulator. I am now using the Cyclone Pro to hold the s19 record and program the target boards from that. But I find when programming a virgin target board with the Cyclone Pro that the code will not run (uP programs ok). If I program the target via the Simulator, the target fires up ok. I am assuming there is some register that the Simulator programs but the Cyclone Pro does not but can't figure out what. If I program the target again with the Cyclone Pro after programming via the Simulator environment then the target still works. Can anyone point me in the right direction as I need to get the production process underway.

Steve
Labels (1)
Tags (1)
0 Kudos
1 Solution
752 Views
stevec
Contributor III
Thanks for the replies. I have resolved this one now and it was down to a misunderstanding of how the Cyclone Pro works in stand alone mode. I thought you just had to download the code in the Cyclone and it would load it into the target on demand. What I failed to do was to understand that you had to enter a script to implicitly tell it to do the erase/program/verify process.

Whilst investigating this I also raise another question. My processor (9S08RE16) has a max working voltage of 3.6 volts. The Cyclone is working on 5V. I have now dropped the Vdd o/p of the Cyclone to 3.6 volts (two diodes) but the output signals from the Cyclone are clearly still working at the 5v Vdd levels meaning that they overdrive the i/p lines of the processor. I am trying to find how to drop the internal regulator of the Cyclone to 3V. This is an option when programming with CW using the Cyclone option but I can't find out how to set the Cyclone to 3V in stand alone mode.

View solution in original post

0 Kudos
3 Replies
752 Views
CrasyCat
Specialist III
Hello
 
I assume when you say application is working when loaded through CW True Time simulator you did load your application onto et target through a USB Multilink cable.
Am I right?
 
So basically when you load the application from CodeWarrior debugger it is running, but it does not run when it starts stand alone after you programmed the s19 file into the part.
Am I still right?
 
I would check following points then:
 
When trying to generate a stand-alone application, check following points.
• The reset vector must be initialized in the S19 file.
• Make sure that the COP (or watchdog) is appropriately handled or disabled.
• Make sure that all the registers initialized in the files “startup.cmd” and “reset.cmd” are initialized in the application startup code.
 
CrasyCat
752 Views
peg
Senior Contributor IV
Hi,

The things that CrasyCat asks for you to check are all commom valid points. However I fail to see how these should differ between using a directly connected device through a USB Multilink and a remote connection through a preloaded Cyclone. We are talking about the same S19 file here aren't we?
My opinion is that it has to be something that is done automatically while you are connected to Hiwave.
One such thing is the automatic trimming of an internal clock. This should not normally stop an application but depending how it works it could hang on the ability to transfer data or something similar.

753 Views
stevec
Contributor III
Thanks for the replies. I have resolved this one now and it was down to a misunderstanding of how the Cyclone Pro works in stand alone mode. I thought you just had to download the code in the Cyclone and it would load it into the target on demand. What I failed to do was to understand that you had to enter a script to implicitly tell it to do the erase/program/verify process.

Whilst investigating this I also raise another question. My processor (9S08RE16) has a max working voltage of 3.6 volts. The Cyclone is working on 5V. I have now dropped the Vdd o/p of the Cyclone to 3.6 volts (two diodes) but the output signals from the Cyclone are clearly still working at the 5v Vdd levels meaning that they overdrive the i/p lines of the processor. I am trying to find how to drop the internal regulator of the Cyclone to 3V. This is an option when programming with CW using the Cyclone option but I can't find out how to set the Cyclone to 3V in stand alone mode.
0 Kudos