Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - jdownj

2
General discussion / Reading Program from PIC 18f6520
So here is my situation:

I have a management card for a server that can be used to remotely control power, etc, as well as providing telnet access to the serial console on COM1 of the mainboard.  The device uses a Lantronix Xport module for serial-to-ethernet.  A PIC 18f6520 listens to serial commands and controls power and fans via GPIOs.  I am trying to duplicate the functionality in a new device, as this one is long out of production(and manufacturer is out of business).  I have little to no knowledge of PICs in general, my experience is limited but I have worked with Arduino and MSP430.  To determine how the project will proceed, I am interested in attempting to read out the code currently located in the PIC.

Google has told me that the Microchip ICD-2(and clones) are the weapon of choice to talk to these chips, but they are rather pricy in general given that I have no intention of learning PICs in detail at this time, and there is at least a 50/50 shot that the code-protect is set on this chip.  I am interested in learning if there are other options to talk to this PIC, especially ones such as the Bus Pirate that have multiple uses rather than being tied to one uC line.

Failing to read this code from the PIC, I will attempt to re-engineer the same functionality on an MSP430 chip of some sort.

Bonus Round:
The Lantronix module is nice, but rather pricey.  Is there a more economical product that can accomplish the same functions? I understood that I am probably looking at at least two parts, an IC of some sort and a MagJack.
3
Project logs / Free PCB Build - PICqueno32
06 Aug 2011
-------------------
Starting a build of the PICqueno32 board that just arrived.  Right now there isn't much going on yet, but need to get a post in before the spam filter gets me.  Parts are ordered from Digi-Key.

22 Oct 2011
-------------------
Made a bunch of progress today.  Still have a few parts not here... The diodes an resistor networks are in a separate order. The FT232 is backordered.  The crystal isn't the right package but I think it will work.


23 Oct 2011
-------------------
Soldered ICSP header and Power Select Jumper, and I have a red LED!

Added the female headers... Looks a little rough because I shortened 1X16 headers to work(Curse you, Arduino form-factor).



24 Nov 2011
-------------------
FT232RL Soldered.  Enumerates as serial port.  Need PICkit to show up.  Starting to think about what free PCB to build next.


Outstanding Issues
-------------------
  • Resistor Networks Specified are a Non-Stocked Part at Mouser
  • Diodes are a Special Order product at Mouser
  • PICkit 2 clone is aparently on the slowest boat from Hong Kong.
  • 8 Mhz Crystal is the wrong package, may or may not work.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01232292176session_write_close ( )...(null):0
20.01262423768ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01262424544Database_MySQL->query( ).../DatabaseHandler.php:119
40.05602563280Database_MySQL->error( ).../Db-mysql.class.php:273