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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,528 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,089 次查看
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 项奖励
回复

1,089 次查看
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 项奖励
回复