Search found 101 matches

by GastonLagaffe
Wed May 04, 2016 7:23 pm
Forum: chipKIT Suggestions
Topic: PlatformIO IDE: An alternative development environment for PIC32
Replies: 6
Views: 1298

Re: PlatformIO IDE: An alternative development environment for PIC32

Salut, I tried the zip file and got it to run with the same issues as before that the path variables are not handled correctly (this time I used windows 8.1). But I found a bigger problem: I opened the blink example and found no way to specify the board (default seems to be cerebot32mx4) nor the com...
by GastonLagaffe
Sun May 01, 2016 1:22 pm
Forum: chipKIT Suggestions
Topic: PlatformIO IDE: An alternative development environment for PIC32
Replies: 6
Views: 1298

Re: PlatformIO IDE: An alternative development environment for PIC32

Salut, I tried for about one hour to install the IDE on Windows 10 but failed under normal user privileges. I did not like that I had to (re-)install Python 2.7 but I expect to have issues with my python 3 installation. The installation requires to be run as administrator (bad idea). If installed as...
by GastonLagaffe
Wed Mar 23, 2016 6:10 pm
Forum: chipKIT Boards
Topic: PIC32MX270f256D serial timing issue
Replies: 4
Views: 535

Re: PIC32MX270f256D serial timing issue

Salut Matt, I am totally lost now: I have created a bootloaded with 48MHz settings and loaded it into the chip I have created a board.txt file with build.mcu=32MX270F256D build.f_cpu=48000000L and the compilation runs using the MX270 processor flag as well as F_CPU=48000000L but the baudrate is 9600...
by GastonLagaffe
Wed Mar 23, 2016 2:52 pm
Forum: chipKIT Boards
Topic: PIC32MX270f256D serial timing issue
Replies: 4
Views: 535

PIC32MX270f256D serial timing issue

Salut, I am testing two identicaö boards with one holding the PIC32MX250F128D and the other using the PIC32MX2270F256D. Both chips work as expected until I tested serial UART1 and UART2. The PIC32MX270F256D seems to have a timing issue: Instead of "Hello World 2" I get "HPkejfdd-E_Pëev" I run both c...
by GastonLagaffe
Fri Mar 18, 2016 10:13 am
Forum: Libraries
Topic: DTWI scanner
Replies: 3
Views: 528

Re: DTWI scanner

Salut Matt, just changed it to scan all I2C buses if present and tested it on my HelvePic32SMD44 where I have both buses on pins. // -------------------------------------- // DTWIscanner v2.0 // Author: Dr. Mathias Wilhelm // Copyright 2016 - CC BY-NC-SA // Creative Commons Attribution 4.0 Internati...
by GastonLagaffe
Fri Mar 18, 2016 12:11 am
Forum: Libraries
Topic: DTWI scanner
Replies: 3
Views: 528

DTWI scanner

Salut, as I read a lot about moving from Wire to DTWI, I wrote a simple scanner of the addresses using DTWI: // -------------------------------------- // DTWIscanner v1.0 // Author: Dr. Mathias Wilhelm // Copyright 2016 - CC BY-NC-SA // Creative Commons Attribution 4.0 International license. // #inc...
by GastonLagaffe
Mon Mar 07, 2016 5:18 pm
Forum: Tips, Tricks & Hints
Topic: [SOLVED] PIC32 external trigger
Replies: 11
Views: 986

Re: PIC32 external trigger

Great!

The Olimex documentation is a bit confusing as it refers to it more from a Pinguino point of view.

Ciao, Mathias
by GastonLagaffe
Mon Mar 07, 2016 9:38 am
Forum: Tips, Tricks & Hints
Topic: [SOLVED] PIC32 external trigger
Replies: 11
Views: 986

Re: PIC32 external trigger

Salut, I tested it on my Olimex PIC32-Pinguino-Micro: volatile int state = 1; void blink() { state = !state; } void setup() { pinMode(PIN_LED1, OUTPUT); pinMode(PIN_LED2, OUTPUT); attachInterrupt(0, blink, FALLING); } void loop() { digitalWrite(PIN_LED2, state); digitalWrite(PIN_LED1,!digitalRead(PI...
by GastonLagaffe
Wed Feb 24, 2016 10:36 pm
Forum: chipKIT Boards
Topic: HelvePic32 definitions
Replies: 7
Views: 439

Re: HelvePic32 definitions

Well....

I changed the options->optimization from "smallest size" to "Fastest execution" and it linked. When I then switched back to smallest size it linked as well.

Ciao, Mathias
by GastonLagaffe
Wed Feb 24, 2016 10:15 pm
Forum: chipKIT Boards
Topic: HelvePic32 definitions
Replies: 7
Views: 439

Re: HelvePic32 definitions

Salut, I am puzzled now ... it worked this afternoon and now is comes with the error again: • Linking sketch... c:\UECIDEBETA\compilers\pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections,-Map,C:\Users\mawilhel\AppData\Local\Temp\build-f3df4aba-af6d-4759-a611-3cafd6893599/Blink.map -mdebugger -mno-perip...