S08SH bootloader

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

S08SH bootloader

841 Views
davidr7
Contributor I

Hey , I tried to run the bootloader for S08SH and it doesn't run. I used the configuration for PortB and I got the FC (ACK) in the PC software.

Afer it always sends ACK again and not continue, I tried to debug it and I saw that the func READ doens't Work ( maybe the problem is in other place). What should I check ?

 

Thanks  David

Labels (1)
0 Kudos
6 Replies

515 Views
weapon
Senior Contributor I


Hi David,

Hope you are talking about SCI bootloader in AN2295.

Firstly please use the latest AN2295SW, now is AN2295SW_Rev1.

I tried SH32 via SCI(PortB),  everthing works fine.  That can prove the code is no prolem.

Did you change baudrate? the defaults is 9600.

0 Kudos

515 Views
davidr7
Contributor I

Hey,

I used the latest version that I found in the forum , if you can please give me a link to the new I will appreciate it.

The correct microprocessor model is : MC9S08SH8CTJ

I use PortB also and I get the first ACK (FC).

The Baudrate is the same ( 9600 ).

After the ACK it says unknown protocol.

What should I do next?

Thanks David

0 Kudos

515 Views
weapon
Senior Contributor I

Hi David,

Sorry for so long delay.

In AN2295SW,there is not project for S08SH8 with PTB ports. Only SH32 has such project.

How did you develope your project?

0 Kudos

515 Views
davidr7
Contributor I

Hey Weiping Xu

I used the next datasheet  (  http://www.freescale.com/files/microcontrollers/doc/data_sheet/MC9S08SH8.pdf  ) .

You can see in page 28 in PDF file ( not document page) the correct figure ( Figure 2-2. 20-Pin ) , you can see that that port B is Rx/TX.

Also I get the first FC .

I hope I answered your question , How can we continue from here?

Thanks David

0 Kudos

515 Views
weapon
Senior Contributor I

Hi David,

That wasn't my mean. I meant there was no corresponding target in the project of AN2295SW.

I added one target named S08SH8-TB1RB0(TxD/RxD) in the bootloader project from AN2295SW. please check the attachment. and select the target as the picture below.

Please have a try, if still get problems, please let me know.

Select target.jpg

0 Kudos

515 Views
davidr7
Contributor I

Hey ,

Still doesn't work. what can I check to help ??

example.jpg

Thanks alot

David

0 Kudos