Page 2 of 2

Re: MX150F128B works allmost fine but some strange behavior

Posted: Fri Jun 17, 2016 11:14 am
by JohnL
OR

Is there any MPIDE support for MX150 or MX170 B(28 pin DIP) or D (44 pin TQFP) parts with internal RC oscillators and UART bootloaders?

Thanks

Re: MX150F128B works allmost fine but some strange behavior

Posted: Fri Jun 17, 2016 12:08 pm
by JohnL
Looks like I have successfully flashed a UART bootloader from this thread for MX150f128B.
Appears to pulse pin 7 (RB3) at 4Hz when placed in boot mode (RB7 High + RST).
viewtopic.php?f=17&t=2438

Does anyone know if there are MPIDE configuration files for this setup?

Thanks

Re: MX150F128B works allmost fine but some strange behavior

Posted: Sat Jun 18, 2016 11:52 am
by BerndK
JohnL wrote: ...
Still looking at way to modify bootloader baud rate from 115200 to lower rate 19200 ?

Would appreciate any help.

...

JohnL
Hi John,

the baud rate ist defined in the bootloader. You have to change it in the .c -file.

The upload speed is defined in boards.txt. Baud rate and upload speed must be the same. I posted the changes I made to the boards.txt file in this thread.

Bernd

Re: MX150F128B works allmost fine but some strange behavior

Posted: Sat Jun 18, 2016 12:08 pm
by BerndK
JohnL wrote:Looks like I have successfully flashed a UART bootloader from this thread for MX150f128B.
Appears to pulse pin 7 (RB3) at 4Hz when placed in boot mode (RB7 High + RST).
viewtopic.php?f=17&t=2438

Does anyone know if there are MPIDE configuration files for this setup?

Thanks
All the MX150 and MX250 boards supported are using a crystal oscilator as far as I know. But this should not be a problem because these settings are made already by the bootlader.

If you use a MCU that is not supported by the avrdude.conf file you have to add an appropriate entry to avrdude.conf. Just copy one of the Mx150 or MX250 entries as discribed in this thread. I am working with an 32MX150F128B so I copied the PIC32MX250F128B and just changed id and desc as discribed above.

here are the config files I use for 32MX150F128B DIP

Hope it helps you out,

Bernd