Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Olimex PIC32-T795 support
03-10-2012, 10:16 AM,
#7
RE: Olimex PIC32-T795 support
As far as I know, there should be no problem to use UBW32 and Duinomite bootloader except, as you noticed, VENDOR and PRODUCT ID. Take a look at your board definition in wxgui/boards.py and try to change vendor and product values.

You never know, do you have a pickit3 to reprogram your board if you need it ?

If pins are already numbered from 1 to 45 on the silkscreen then it becomes de facto the Pinguino pins numbers. You just have to find what are the MCU pins connected to these 45 pins.
Take care, Pinguino pins start at 0.

So, if LED1 is on pin #37 = MCU pin#30 = RB15, then you should have this in digitalw.c :
portmask[37]=pB
pinmask[37]=_15

You could also define LED1 in const.h :
Quote:#elif defined(PIC32_PINGUINO_T795)
#define LED1 37
...
#endif

Try this first in the IDE :
Quote:void setup()
{
TRISBbits.TRISB15 = OUTPUT;
}

void loop()
{
LATBbits.LATB15 = 0;
delay(50);
LATBbits.LATB15 = 1;
delay(50);
}

and then :

Quote:void setup()
{
pinMode(37, OUTPUT); // 37 or LED1
}

void loop()
{
toggle(37);
delay(50);
}
It is easier to complain than it is to do, but it is better to do than it is to complain.
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: 1 Guest(s)