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

0 Members and 1 Guest are viewing this topic.

Offline CirclotronTopic starter

  • Super Contributor
  • ***
  • Posts: 3339
  • 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: 644
  • 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").

Dave
 

Offline jaromir

  • Supporter
  • ****
  • Posts: 341
  • 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.
 

Offline CirclotronTopic starter

  • Super Contributor
  • ***
  • Posts: 3339
  • Country: au
Re: Simple way to program M68HCS08 series
« Reply #4 on: March 09, 2023, 12:09:18 am »
Just an update on this one.
Went and spent AUD$1000 on a PE Multilink thing and persisted with it for about 2-1/2 years. Worked sort of okay with S08PA micros but would lose the USB connection every single time you went to program. And would not get a BKGD connection with S08FL micros. After a lot of back and forth with their help guy I received and did a firmware update and that fixed the FL micro problem at least. Still had the USB dropout problem and so does a friend who bought the same programmer. Also I found the software tedious to use in a repetitive production environment. Although to be fair, I don't think that was what it was intended for.

The upshot of all this was eventually got a $20 USBDM programmer and associated free software, the author of which is on this forum even, and haven't looked back. It is perfect for my needs. If only I had known ahead of time...
« Last Edit: March 09, 2023, 04:11:23 am by Circlotron »
 

Offline pgo

  • Regular Contributor
  • *
  • Posts: 81
  • Country: au
Re: Simple way to program M68HCS08 series
« Reply #5 on: March 09, 2023, 02:47:09 am »
USBDM
https://sourceforge.net/projects/usbdm/
but I'm biased
They are still available on ebay etc.
A little  bit cheaper than a multilink.
« Last Edit: March 09, 2023, 02:49:09 am by pgo »
 
The following users thanked this post: Circlotron, coromonadalix


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf