Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Olimex PIC32-T795 support
03-10-2012, 12:15 PM,
#12
RE: Olimex PIC32-T795 support
(03-10-2012, 11:09 AM)regis Wrote:
(03-10-2012, 10:34 AM)imrehg Wrote: ... if the pins start from 1, do I have to pad the very first element of the array with something (for "PIN0")? What would be that something that doesn't correspond to any register?

You might add some explanations and put :
portmask[0]=255; // something different from pA ... pG
pinmask[0]=0
There will be no error at compilation, it will simply do nothing.

If you have a better idea ...

This sounds good to me. Will change the definitions like that.

In the meantime I tried the sketches (both the one directly accessing the registers, and the one with the pins), could use mphidflash on Windows to upload the sketch with no positive result. No blink, no correct voltage measured on the pins.

One thing I noticed, that after flashing the hex of that sketch, the board doesn't show up as a serial port anymore. Is that an expected result? If I re-flash the Olimex bootloader, then it shows up again, but another sketch upload and it's gone.

Also, in a strange way, I can use Windows +mphidflash to upload the sketch, while I have two Linux machines (Ubuntu, Archlinux) that cannot upload it anymore.... Not sure what to make of it.
Reply


Messages In This Thread
Olimex PIC32-T795 support - by imrehg - 02-10-2012, 06:34 AM
RE: Olimex PIC32-T795 support - by regis - 02-10-2012, 10:17 AM
RE: Olimex PIC32-T795 support - by imrehg - 02-10-2012, 10:19 AM
RE: Olimex PIC32-T795 support - by regis - 02-10-2012, 12:42 PM
RE: Olimex PIC32-T795 support - by imrehg - 02-10-2012, 04:50 PM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 09:20 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 10:16 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 10:28 AM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 10:34 AM
RE: Olimex PIC32-T795 support - by regis - 03-10-2012, 11:09 AM
RE: Olimex PIC32-T795 support - by imrehg - 03-10-2012, 12:15 PM
RE: Olimex PIC32-T795 support - by pingotg - 03-10-2012, 11:25 AM
RE: Olimex PIC32-T795 support - by pingotg - 03-10-2012, 07:07 PM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 03:26 AM
RE: Olimex PIC32-T795 support - by schumi - 04-10-2012, 07:30 AM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 11:46 AM
RE: Olimex PIC32-T795 support - by schumi - 04-10-2012, 01:47 PM
RE: Olimex PIC32-T795 support - by imrehg - 04-10-2012, 05:20 PM
RE: Olimex PIC32-T795 support - by pingotg - 04-10-2012, 12:17 PM
RE: Olimex PIC32-T795 support - by schumi - 16-10-2012, 03:38 PM
RE: Olimex PIC32-T795 support - by imrehg - 19-10-2012, 05:33 AM
RE: Olimex PIC32-T795 support - by ringo125 - 31-03-2013, 08:20 PM
RE: Olimex PIC32-T795 support - by pingotg - 01-04-2013, 09:59 AM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 10:21 AM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 06:23 PM
RE: Olimex PIC32-T795 support - by ringo125 - 01-04-2013, 07:30 PM
RE: Olimex PIC32-T795 support - by ringo125 - 02-04-2013, 09:03 PM
RE: Olimex PIC32-T795 support - by ringo125 - 30-04-2013, 11:34 AM
RE: Olimex PIC32-T795 support - by regis - 01-05-2013, 09:04 AM
RE: Olimex PIC32-T795 support - by ringo125 - 02-05-2013, 11:13 AM
RE: Olimex PIC32-T795 support - by regis - 02-05-2013, 11:35 AM
RE: Olimex PIC32-T795 support - by ringo125 - 11-05-2013, 11:38 AM
RE: Olimex PIC32-T795 support - by ANTONi - 16-09-2013, 10:35 PM
RE: Olimex PIC32-T795 support - by pinguPlus - 16-09-2013, 11:04 PM
RE: Olimex PIC32-T795 support - by ANTONi - 16-09-2013, 11:40 PM
RE: Olimex PIC32-T795 support - by pingotg - 17-09-2013, 12:59 AM
RE: Olimex PIC32-T795 support - by regis - 19-09-2013, 09:20 AM
RE: Olimex PIC32-T795 support - by regis - 19-09-2013, 10:00 AM
RE: Olimex PIC32-T795 support - by ANTONi - 19-09-2013, 12:00 PM
RE: Olimex PIC32-T795 support - by LubOlimex - 19-09-2013, 04:01 PM
RE: Olimex PIC32-T795 support - by ANTONi - 19-09-2013, 11:12 PM
RE: Olimex PIC32-T795 support - by LubOlimex - 20-09-2013, 02:34 PM
RE: Olimex PIC32-T795 support - by Pinguino - 24-09-2013, 08:50 AM
RE: Olimex PIC32-T795 support - by Hershell - 19-09-2016, 05:30 PM
RE: Olimex PIC32-T795 support - by regis - 19-09-2016, 05:37 PM
RE: Olimex PIC32-T795 support - by Hershell - 19-09-2016, 09:44 PM
RE: Olimex PIC32-T795 support - by regis - 20-09-2016, 09:26 AM
RE: Olimex PIC32-T795 support - by Hershell - 20-09-2016, 08:35 PM
RE: Olimex PIC32-T795 support - by regis - 21-09-2016, 04:38 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)