Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pic32 Pinguino Micro and I2C Library bag
28-10-2014, 04:50 PM,
#11
RE: Pic32 Pinguino Micro and I2C Library bag
(28-10-2014, 01:29 PM)moreno Wrote: Hi

I uploaded the zip file of 1004 version here http://www.filedropper.com/pinguino32ide41004
Is the Full version for Linux, Windows and Mac with a size of about 220MB.


Bye Bye, Moreno


Thank you!
I tested the new IDE, but now does not work flash card. Interestingly the old IDE runs sees files, etc. but does not I2C. At 1004 IDE I2C works, but when I try to access the map SD.mount(40) or SD.init(40) on the LCD artefacts appear, the text is not readable. The old IDE LCD and flash card are working fine, but should compile on a new IDE 1004 LCD screen flickers and flash card is not detected at all.
Reply
29-10-2014, 07:55 AM, (This post was last modified: 29-10-2014, 08:04 AM by moreno.)
#12
RE: Pic32 Pinguino Micro and I2C Library bag
Hi

Very strange, for the display I can't help you but for the SD I'm pretty sure which work perfectly with 1004.
Which kind of display use you?? I use parallel display (lcd.pins(.... ) and it work fine.


Bye Bye, Moreno
Reply
29-10-2014, 01:43 PM,
#13
RE: Pic32 Pinguino Micro and I2C Library bag
(29-10-2014, 07:55 AM)moreno Wrote: Hi

Very strange, for the display I can't help you but for the SD I'm pretty sure which work perfectly with 1004.
Which kind of display use you?? I use parallel display (lcd.pins(.... ) and it work fine.


Bye Bye, Moreno

The display is connected to port REx, the old IDE everything is fine, does not work on the new SD card, maybe some estates in the modules?
The old version of the environment is running from SD fine (IDE or 956 965't remember exactly), what may be possible? the display I was off at all, everything was off, still not working SD. Can any particular compiler settings?
Reply
29-10-2014, 01:54 PM,
#14
RE: Pic32 Pinguino Micro and I2C Library bag
Something tells me that it is connected with io.c or SD library... try to figure out... but it is unlikely that I will find the cause. And then there are those who in the presence of a PIC32 Pinguino Micro and who can test the SD card and LCD at the same time, the LCD I have a 4-line, 20 characters per line, connecting the 4-bit data bus, library lcdlib standard pin of port RE, SDHC memory card 4Gb, and put others in 16Gb and 32Gb - new IDE 1004 does not work not on one, Mount(40) - always returns a negative result, while the old IDE 956 all the cards at once determined and assembled! In the new IDE is clearly an error somewhere...
You need to even someone 1004 on tested, SD port, I2C, 1Wire, and so on. I also noticed that, if the frequency of the I2C 400 or 100KHz display displays incorrect characters, but if you put 1MHz incorrect characters less!.
Reply
29-10-2014, 02:43 PM, (This post was last modified: 29-10-2014, 02:43 PM by moreno.)
#15
RE: Pic32 Pinguino Micro and I2C Library bag
Hi

Boo, as last test you can take i2c.c from 1004 version and put it in your working IDE.

In my device I use more or less all pin for Display/Keyboard (8Bit Bus + some control signal) , RTC, RS485, 2 Counters, 1 DIN, 2 DOUT, 4 OneWire, I2C and SD (8GB) ( http://forum.pinguino.cc/showthread.php?tid=3885 ) and it work fine.

Bye Bye, Moreno
Reply
30-10-2014, 06:57 AM, (This post was last modified: 30-10-2014, 06:58 AM by AlexandrX2.)
#16
RE: Pic32 Pinguino Micro and I2C Library bag
(29-10-2014, 02:43 PM)moreno Wrote: Hi

Boo, as last test you can take i2c.c from 1004 version and put it in your working IDE.

In my device I use more or less all pin for Display/Keyboard (8Bit Bus + some control signal) , RTC, RS485, 2 Counters, 1 DIN, 2 DOUT, 4 OneWire, I2C and SD (8GB)  ( http://forum.pinguino.cc/showthread.php?tid=3885 ) and it work fine.

Bye Bye, Moreno

I tried i2c.c in a working environment to throw. but i2c.c does not work there Big Grin okay I'll leave you to torment issues. try to understand, just weird. If you understand what it will write )
Reply
30-10-2014, 01:27 PM,
#17
RE: Pic32 Pinguino Micro and I2C Library bag
AlexandrX2 sent me a PM but I don't know why?

Why me? Why a PM?

John
Reply
30-10-2014, 07:53 PM,
#18
RE: Pic32 Pinguino Micro and I2C Library bag
Conducted an experiment! Took the old and the new IDE, 959 1004 and replaced the folder Win32 and p32 in 959 folders from 1004 to compilers and libraries were the same! Then I compiled THE SAME code on both IDE. And here are the results:

IDE 959:
Board: PIC32 Pinguino Micro
Proc: 32MX440F256H
File: D:\PIC\.temp\Newfile0.pde
compiling...
compilation done
code size: 28168 / 262144 bytes (10% used)
8.7 seconds process time

IDE 1004:
Board: PIC32 Pinguino Micro
Proc: 32MX440F256H
File: D:\Pinguino\.temp\Newfile0.pde
compiling...
compilation done
code size: 18781 / 262144 bytes (7% used)
6.1 seconds process time

The result is DIFFERENT in terms of binary files!!! And it's the SAME compilers and libraries, conclusion: different keys are used for compilers! Moreover 959 environment I2C does NOT WORK, and at 1004 works, but at 1004 SD is not defined, and 959 works.

Again I will say that the same source code, libraries, and compilers are the same! What changes were in the IDE 1004??? this will help to find the error faster...
Reply
30-10-2014, 09:22 PM,
#19
RE: Pic32 Pinguino Micro and I2C Library bag
Found the reason!!! Here is the result of compiling with Linux IDE of the SAME CODE:

Board: PIC32 Pinguino Micro
Proc: 32MX440F256H
File: /home/alexandr/x.4/.temp/Newfile0.pde
compiling...
compilation done
code size: 32752 / 262144 bytes (12% used)
1.9 seconds process time
UBW32 found: 241664 bytes free

There are 12%!!! And Yes, now everything works and I2C and Flash and display, and no glitches and lags!

Environment for Winows in principle not working!

Correct environment for Windows!

Topic can be closed!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)