Setting up a Free tool chain for HC908 on Mac OS X: SDCC,Eclipse,make and a Free bootloader

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

Setting up a Free tool chain for HC908 on Mac OS X: SDCC,Eclipse,make and a Free bootloader

2,524 Views
kusti
Contributor I
Hi,

sorry to 'advertise' here but I've written a page or two to help beginners in microcontrollers (MC68HC908JB8) to get started.

It is about consrtructing a minimal hardware setup and setting a Free tool chain at under 15 USD in a couple of hours.
(I'm not selling anything, the price is the price of the parts from wherever you want to get them)

The tool chain uses SDCC, Eclipse, make and my free bootloader, bl08, and I've set it up on Mac OS X 10.4.11 but
should be trivial to set up in Linux, and should not be too bad on Windows if one uses Cygwin or MinGW to compile
the bootloader.

To read the story, goto my website at:

http://www.sparetimelabs.com/

and select 'Fun with HC08' from the navigation on the left.

To read about the bootloader select 'bl08'.

There is also something that might be of interest to SDCC user and embedded programmers on page 'PrintfII'.

br Kusti
Labels (1)
0 Kudos
Reply
2 Replies

1,085 Views
robertrau
Contributor I

Kusti,

 

This is great news. I am a FAE with Avnet and have three Freescale customers that would prefer to develop on the Mac. Have you done any development on this since 2008?

0 Kudos
Reply

1,085 Views
ggorlik
Contributor I

Bob,

I just tried sdcc 3.1 with a S08js16.

For the JS16 the compile line should contain -mhc08 --data-loc 0x80 --code-loc 0xC400 --stack-loc 0x027F

interesting enough the stack-loc must be in the compile stage (not the linker as it does nothing there).

 

For flashing, it is likely you can port usbdm without much effort (based on wxwidgets and libusb which are both available on mac).

0 Kudos
Reply