MX150F128B works allmost fine but some strange behavior

JohnL
Posts: 17
Joined: Tue May 20, 2014 9:07 am

Re: MX150F128B works allmost fine but some strange behavior

Post by JohnL » Fri Jun 17, 2016 11:14 am

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

JohnL
Posts: 17
Joined: Tue May 20, 2014 9:07 am

Re: MX150F128B works allmost fine but some strange behavior

Post by JohnL » Fri Jun 17, 2016 12:08 pm

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

BerndK
Posts: 9
Joined: Sat Feb 16, 2013 11:23 am

Re: MX150F128B works allmost fine but some strange behavior

Post by BerndK » Sat Jun 18, 2016 11:52 am

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

BerndK
Posts: 9
Joined: Sat Feb 16, 2013 11:23 am

Re: MX150F128B works allmost fine but some strange behavior

Post by BerndK » Sat Jun 18, 2016 12:08 pm

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
Attachments
Board_Defs.h
(15.02 KiB) Downloaded 28 times
Board_Data.c
(20.4 KiB) Downloaded 29 times

Post Reply