Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino Programmer
04-12-2013, 04:06 PM,
#1
Android Chrome Apps / ICSP
(25-11-2013, 02:18 AM)niki_m Wrote: Just checked & the Android version of Chrome does not support apps at this time ..

But "this time" might be over soon:

http://thenextweb.com/google/2013/12/03/...uary-2014/

And now for something completely differnt: Concerning ICSP, this one might be easier to follow (and have more potential) than deprecated/discontinued PicKit2:

http://code.google.com/p/pinguino32/sour...ammer8.pde

If I understand it right, together with assorted programmer8.py, this has the power to turn many pinguinos into a Low/Single Voltage Programmer for LVP enabled PICs, right? Régis? ("Buy one, build many".)
Reply
04-12-2013, 04:25 PM, (This post was last modified: 04-12-2013, 04:31 PM by niki_m.)
#2
RE: Pinguino Web IDE
New compiler & linker system is working now.. With full error checking, the timings are:

Preprocessor - 2ms
Compile & Link - 560ms (without --optimize-df)
Compile & Link - 820ms (with --optimize-df)

Not as quick as I had hoped, but twice as quick as the original, so that's a good start Smile

(04-12-2013, 04:06 PM)trollpatsch Wrote:
(25-11-2013, 02:18 AM)niki_m Wrote: Just checked & the Android version of Chrome does not support apps at this time ..

But "this time" might be over soon:

http://thenextweb.com/google/2013/12/03/...uary-2014/

That's great news!

(04-12-2013, 04:06 PM)trollpatsch Wrote: And now for something completely differnt: Concerning ICSP, this one might be easier to follow (and have more potential) than deprecated/discontinued PicKit2:

http://code.google.com/p/pinguino32/sour...ammer8.pde

If I understand it right, together with assorted programmer8.py, this has the power to turn many pinguinos into a Low/Single Voltage Programmer for LVP enabled PICs, right? Régis? ("Buy one, build many".)

I'll add that to the list Big Grin

Thanks!
Reply
04-12-2013, 06:36 PM,
#3
RE: Pinguino Web IDE
Quote:If I understand it right, together with assorted programmer8.py, this has the power to turn many pinguinos into a Low/Single Voltage Programmer for LVP enabled PICs, right? Régis? ("Buy one, build many".)

That's it. Features are (up to now ) :
- 8-bit Pinguino support
- Bootloader v4.x support (I won't try to port it to bootloader v2.x as this one is only for x550 family)
- HVP support (LVP to do)
- Stand-alone application but should be a part of the IDE once all test have been done. BTW, there will be no other programmer supported in the IDE, only this one.

Want to help, please contact me Smile.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
05-12-2013, 10:18 AM,
#4
RE: Pinguino Web IDE
Regis,

now completely off-topic (feel free to move where it belongs), but just in order to unpuzzle me (a bit):

Some appropriately chosen Vpp for HVP comes "out of the blue" (regulator, zener(?) or voltage divider) and gets switched by a transistor on _VPP_ pin? Then (and in general) I am a bit confused by those comments:

#define _VPP_ 3 // connected to the _VPP_ pin (MCLR) of the blank chip
#define _VCC_ 6 // connected to the VDD pin power on transistor

How many transistors will be used then? Just to get a rough impression of the schematics.

Micochip announced that in the long run they will completely turn away from HVP, so yes, having LVP ready would be a good point.

Ooops, I just realized that on some PIC18s, Vpp can be at Vdd level. I think I should start to unpuzzle myself on my own.
Reply
05-12-2013, 11:01 AM, (This post was last modified: 05-12-2013, 11:13 AM by regis.)
#5
RE: Pinguino Web IDE
Here is an HVP example from Jean-Pierre Mandon with a 2550 :
   
On some chips (x550 for example) while in Low-Voltage ICSP Programming mode, the RB5 pin can no longer be used as a general purpose I/O pin and should be held low during normal operation.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
05-12-2013, 03:45 PM, (This post was last modified: 05-12-2013, 03:45 PM by niki_m.)
#6
RE: Pinguino Programmer
Ah, so that's where my post went!

Definitely interested in getting your programmer supported in the web IDE Regis. Just got to work on a few other bits first.
Reply
05-12-2013, 05:17 PM,
#7
RE: Pinguino Programmer
Thank you, regis.

Did you have a look at LVP yet? ONLY in case you did: Are there heavy differences from family to family or even from chip to chip (not talking about erase/write block sizes)? I know that the term LVP has shifted meaning with/out PGM (causing trouble) and is therefore now avoided by MCHP ("single supply"), so I expect at least two flavors.

By the way, speaking of 'old' PIC18F2550, there might be a DIY bargain, look here (select your country to update VAT and p&p):

http://www.reichelt.de/PIC-18-Controller...ANGUAGE=EN

According to this article, this SPDIP-28 should be a PIC18F2550, pre-programmed with a PDFSUSB Bootloader (0x800; Note: I did not verify, so no warranties from my side!) for about 1€ (depending on local VAT).

http://www.elektor.de/Uploads/2012/8/Nun...dapter.pdf

Some may want to put a breadboard in the cart:
http://www.reichelt.de/STECKBOARD-1K2V/3...BOARD+1K2V

(I am horribly shifting topics again ... And I am not working on behalf of Reichelt, but I know it as a reliable supplier, generally NOT the fallen-from-a-truck stuff ..)
Reply
05-12-2013, 09:40 PM,
#8
RE: Pinguino Programmer
The chip was 8.95 EUR and now 0.99 EUR !!! Certainly the end of their stock. Anyway this chip is outdated. 27j53 or 26j50 are much better for the same price.
About Nunchuk and Pinguino : http://wiki.pinguino.cc/index.php/With-wii-nunchuck.
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
08-12-2013, 03:43 PM,
#9
RE: Pinguino Programmer
Quick question: How would I detect this programmer without communicating with it?

Will it be getting its own USB device ID?
Reply
09-12-2013, 10:14 AM,
#10
RE: Pinguino Programmer
Why, or when, do you want to detect the Programmer ?
The Programmer is a Pinguino that runs programmer8.pde sketch so there is no difference between Programmer and Pinguino. They have the same USB device ID.
However, the Programmer waits for some commands from the PC and returns "OK" when they are received. I can add a special command/answer to recognize a Pinguino Programmer from a Pinguino ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)