chipKIT® Development Platform

Inspired by Arduino™

ChipKit MX3 Boot Loader?

Created Sun, 02 Mar 2014 10:23:56 +0000 by czirjek


czirjek

Sun, 02 Mar 2014 10:23:56 +0000

Hy all, I have a Chipkit MX3 (Cerebot Mx3ck) and i wanted to modify the input pins to connect my gyro to an other pin but i change something somewhere and now my gyro don't work. I have some questions about that: If i reset my boot loader to the factory boot loader then that can fix my problem? If yes than how can i reset my Boot loader because the boot loader from Digilentinc for this board doesn't function. Thx.


majenko

Sun, 02 Mar 2014 10:54:21 +0000

Hy all, I have a Chipkit MX3 (Cerebot Mx3ck) and i wanted to modify the input pins to connect my gyro to an other pin but i change something somewhere and now my gyro don't work. I have some questions about that: If i reset my boot loader to the factory boot loader then that can fix my problem?

That depends on what your problem is. What no longer works? Can you upload the basic Blink sketch?

If yes than how can i reset my Boot loader because the boot loader from Digilentinc for this board doesn't function. Thx.

Try one of these - which one you need depends on which chip is on your MX3cK: [url]https://raw.github.com/chipKIT32/PIC32-avrdude-bootloader/master/bootloaders/MX3cK128.hex[/url] [url]https://raw.github.com/chipKIT32/PIC32-avrdude-bootloader/master/bootloaders/MX3cK512.hex[/url]


czirjek

Sun, 02 Mar 2014 20:48:07 +0000

When i downloaded the Gyro mpide project and run it in my Serial monitor a get a message: "Pmod gyro demo" and after that the X,Y,Z values depend how i moved the board and after changing something this program just give a message "Pmod gyro demo" and nothing else. The Blink sketch works fine just the INPUT functions don't, because the Wifiscan works fine but when i want to create a WifiClient an I use INPUT functions than after running the sketch the board does nothing. From that cause i want to modify the pins for gyro to find out what is the problem? Maybe i burn something in the actual PIN. I attach the Gyro mpide project to show you the code, maybe you can find out something. I am a very beginner in this domain and i want to create a tricopter for the Digilent design contest 2014.

Thank you for the boot loader code's but can you describe how to apply this, I use windows 7.

Thanks for reply.


majenko

Sun, 02 Mar 2014 21:03:39 +0000

after changing something

That, of course, begs the question: "What did you change?"

Well... what did you change?


czirjek

Mon, 03 Mar 2014 13:30:20 +0000

I change the Pin numbers in main sketch of GyroDemo and in the DSPI.h and DSPI.cpp. And after that no longer work my gyro. I reinstalled all of software and nothing changed, the gyro doesn't work . I want to set an other input pins for the gyro and test it but i don't know how can i set other input pins. The old one was the 36 witch is an external interrupts and 37 witch is an analog input.