Dears,
SH family bootloader already developed and pre-tested, find attached.
It will appear in the next release (also including S08JM - this time only via SCI).
Regards, Pavel (an2295 developer)
Yes, bootloader works, as all similar single-wire variants. It's been tested, there are several "platforms" available predefined for SH family bootloader.
Just to make sure, the hardware must be designed so that RS232 receive buffer does not interfere with the single-wire pin in transmit mode. I.e. as a minimum, a diode and pull-up resistor must be connected as Wired-OR in between these two signal sources.
Pavel, Freescale Czech
(an2295 developper)
;************************************************************************** IF PLATFORM = 6 ; TB1RB0RCS_ENA EQU 1 ; READ COMMAND SUPPORTED—TXDPORT EQU PTBD ; <<< TxD pin portTXDPIN EQU PTBD_PTBD1 ; <<< TxD pin numberSCITXINV EQU 0 ; 0 with level shifters, 1 withoutSCIRXINV EQU SCITXINV ; 0 with level shifters, 1 withoutRXDPORT EQU PTBD ; <<< RxD pin portRXDPIN EQU PTBD_PTBD0 ; <<< RxD pin numberRXDPUEN EQU 0 ; use pull-up featureRXDPUE EQU PTBPE ; define pull-up enable port, if used ENDIF
peg wrote:
Hi Rodger,
As you had not commented on my post I thought I would give it a go as I knew I had figured out a way to do this. It does not seem that when you are the OSBDM that you can disable the automatic erasure.
See here for a way around this though.
I also believe you can specify an option on the command line to stop it, but not sure if it works in OSBDM mode. (SKIPERASE???)