RetroBSD
http://retrobsd.org/

MAX32 board
http://retrobsd.org/viewtopic.php?f=3&t=37499
Page 1 of 1

Author:  norbiv8 [ Wed Jan 20, 2016 9:23 pm ]
Post subject:  MAX32 board

Hello,
I uploaded the unix.hex into MAX32 board with pickit3. At the moment the SD isn't connected, but I think I should get some kernel message on the console. I'm using the onboard USB connector to power the board and it is appear as USB serial what I opened in terminal at 115200bd. After reset I haven't received anything on the console. What i'm doing wrong?

Author:  majenko [ Wed Jan 20, 2016 9:31 pm ]
Post subject:  Re: MAX32 board

Quote:
I uploaded the unix.hex into MAX32 board with pickit3

Well that's your first mistake right there. Unless you're using a special bare-bones unix.hex you have just wiped out the bootloader, and hence all the startup code and config settings for the board. Nothing will work now.

You need to install the bootloader (downloadable from Digilent's website) and reinstall it using your PICkit3. Then you need to upload the unix.hex file using pic32prog.

Author:  norbiv8 [ Thu Jan 21, 2016 9:27 pm ]
Post subject:  Re: MAX32 board

Thanks for your help. Finally i'm managed to upload the unix.hex with avrdude. The pic32prog didn't work for me.

Author:  vak [ Fri Jan 22, 2016 7:20 am ]
Post subject:  Re: MAX32 board

What's the issue with pic32prog?

I know under Windows it sometimes fails with message like "hidboot: error -1 receiving packet". I cannot reproduce this bug, so I don't know what's the problem here. Probably some USB incompatibility between different versions of Windows.

Author:  norbiv8 [ Fri Jan 22, 2016 7:39 am ]
Post subject:  Re: MAX32 board

The pic32prog want me to upgrade the PICkit3 firmware. MplabX has already upgraded it, so i don't know what version could be OK. I haven't tried with Windows, i use Ubuntu 14.04 (64bit).

Author:  vak [ Fri Jan 22, 2016 8:14 am ]
Post subject:  Re: MAX32 board

Oh yea, pic32prog does not support the native pickit3 protocol...
But you don't need pickit3 to upload unix.hex to the Max32 board.
Just connect it with plain mini-USB cable.
Use -d option to provide a name of Max32 serial device, like:
Code:
pic32prog -d /dev/ttyUSB0 unix.hex

Author:  norbiv8 [ Fri Jan 22, 2016 10:27 am ]
Post subject:  Re: MAX32 board

Ahh, i looked for solution in pic32prog.txt, but it is mentioned in readme.txt :oops:

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/