Author Topic: Simple way to program M68HCS08 series  (Read 714 times)

0 Members and 1 Guest are viewing this topic.

Online Circlotron

  • Super Contributor
  • ***
  • Posts: 2018
  • Country: au
Simple way to program M68HCS08 series
« on: March 19, 2019, 04:13:15 am »
Making the move from HC908 to M68HCS08. Also first time for in system programming. Had a look at all this Code Warrior stuff and pods to go between PC and target board. I'm bamboozled by so many choices. All I want to do is download the .s19 file into the micro. No need for simulation or debugging or all that fancy stuff. Already have good HC908 code that just needs to be massaged a little because of different cycle count for some instructions. Where should I start? Doesn't have to be free, say up to several hundred dollars is okay.

Offline Gribo

  • Frequent Contributor
  • **
  • Posts: 468
  • Country: ca
Re: Simple way to program M68HCS08 series
« Reply #1 on: March 21, 2019, 08:32:12 pm »
Check PE micro. A bit expensive though.
I am available for freelance work.

Offline DDunfield

  • Regular Contributor
  • *
  • Posts: 173
  • Country: ca
Re: Simple way to program M68HCS08 series
« Reply #2 on: March 22, 2019, 05:35:37 pm »
I did a contract using M68HCS08 a while back, IIRC device was MC9S08QG8.

For development we used CodeWarrior with PE micro universal multilink interface (part# on device is: USB-ML-UNIVERSAL).

But if all you want to do is load the code, the BDC interface is fairly well documented under "Development Support".
As part of the manufacturing test system, I implemented the BKGD 1-wire interface by "bit bashing" it on an STM32F103 (Blue Pill) for the purpose of loading firmware, and it worked quite well.
(and much simpler and easier to automate than trying to do it through CodeWarrior and PE interface which of course "needs a windows-PC").


Offline jaromir

  • Supporter
  • ****
  • Posts: 288
  • Country: sk
Re: Simple way to program M68HCS08 series
« Reply #3 on: March 29, 2019, 09:27:34 am »
PE tools are classic for HC(S)08 MCUs.

Just for sake of completeness, I'm using USBDM for flashing HCS08 MCUs and internal clock calibration. USBDM has both GUI and command-line tools, being helpful to both hardware testing/development and production programming.

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo