Skip to main content

Messages

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

Messages - rvbcrs

46
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Ok that was it, after a whole weekend of trying to get the programmer to work I have given up... I can't get the 3.3V on the MCLR (Vpp) pin whatever I do, I have tried many different config bits nothing helped. Today I ordered a PICKit2 (I just couldn't wait ;)) so hopefully I will be able to flash it with that.
47
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Thanks for the input guys! I changed the PBADEN to digital, but unfortunatly no change, the programmer keeps refusing to recognise the PIC on the webserver. I'm not at home right now, so I can't measure the voltage now.

I reallise I made a mistake when I posted that the 5th pin is 0.01V but it is the first the MCLR (Vpp) that is 0.01V. I'm almost out of options, I 'm afraid I have to wait until my ICD2 shipment from honkong comes in.. damn..
48
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Well I'm giving up for today I'm tiered ;) I have tried about everything, I swapped the PGD and PGC on the webserver, I detached the V+ from the webserver and powered it with its own power source...

Is it possible that there is still something wrong with the config bits?
49
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Ok there is another project I was trying: http://www.instructables.com/id/Dot_Matrix_Business_Card/ It also has a ISCP header, I connected that one and also no chip recognition, the same message I got with the WebServer. The programmer software has a option to test the ISCP connector on the programmer, it puts power on all lines (except GND) that way you can test if the programmer is working correct.

I made the "Brenner9N" version that is a 5V programmer, but with a 3.3V transformation system so that eventually all the ISCP pins give 3.3V.
This is the schematic:

I don't know what to think about the transistor, but that is the only thing that I changed, it was a BF959 and I changed it to a BF840 (SMT) transistor. That's why I don't trust the thing ;)

About the swapped pins for the WebServer, when I look at the schema I see that pin 4 is PGD and pin 5 is PGC that is the same as on my programmer is it? so what is swapped than? or is the text ok on the pcb, but the physical lines incorrect?
50
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Hmm I'm looking through the documentation again and see this part:

Tabel 1 Signale on ICSP

Signal:     Vdd (3V) | Vpp (3V) | SCLK (3V) | SDATA (3V) | Vss (0V)
ICSP-Pin:       2             1              5               4                3

All signals (except Vss) must be between 2,5 V and 3,6V.

My Pin 5 (Clk) = 0,01v so I guess there is something wrong there can that be the transistor or?
Damn.. problems, problems :)
51
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Wow Chris! That was spot on! I set the config bits like you set and Windows is now really happy with it! I'm getting closer! :)
But the next problem occurs, Windows recognisez the flasher and after installing the drivers it says it is a "Sprut brenner8" so I guess everything is fine now! I start the usb-burn software and what do you know, the program recognised the flasher and even the firmware inside the PIC18F2550.

Next thing I pull out the BC WebServer and plug a 5 pins cable to it and the other end to my newly made programmer! I click the "Identify Chip in Programmer" button and then the program says: "## this PIC-ID 0x0000 is not in database" So I guess the connection between the programmer and the Webserver board is not ok?

I meassured the voltages at the ICSP pins and:

Pin 1 (Vpp) = 3,1v
Pin 2 (Vdd) = 3,1v
Pin 3 (Vss) = 0v (gnd)
Pin 4 (Data) = 3,1v
Pin 5 (Clk) = 0,01v

Are these values making any sense? and maybe the noobest question ever, but the PIC that will be programmed is powered by the ICSP port? or do I have to power the Webserver itself also?

Thanks again so much for helping me out guys!

Ramon
52
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
I unfortunatly do not have a scope..

I will try some other config bits when I'm home again, I must say I really have no clue how to set the fuses.. Well I know how to set them but not to what. The OSC says 40Mhz now, I have no idea if thats correct. The project uses a 20Mhz crystal.

I made a screenshot of the fuses screen, I don't know if you know if this is correct:


Thanks
53
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Thanks Chris for your great reply, I checked and veryfied the flash again and saw there was something going wrong near the end. It turns out the "MicroPro" flash tool that came with the flasher has a bug! I used another version and now the flashing process was ok!

I tried the 18F2550 in the brenner9 I hear a sound in Windows now, but no it says "Unknown Device" and it says windows has disabled the device because of a problem.
I guess I'm a bit further now, but It still doesn't work. I guess it has something todo with the transistor I used instead of the BF959 one. I guess I have to look for a place to buyt that one.
54
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
Damn I have no luck what so ever with my flashers.. I try to flash the 18F2550 with my "40 ZIF USB Interface Microchip PIC Programmer Kit" from ebay, all seems to go well, but when I put the chip on my self made "Brenner9" and then connect it through USB to my computer Nothing happens!! damn.. It is possible I made a mistake in the build of the PCB, but I guess the flash process of the PIC18F didn't go well.

Damn I guess I have to wait until my IDC2 arrives.. :(
55
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
[quote author="Scorpia"]
sorry i dont know about the transistors, but i have a question,

do you have a programmer to program the pic in the pic programmer you are building? it seemed to be an 18f series pic.

or is that the classic catch22 pic programmer issue? how do you build a pic programmer without a pic programmer :)

Peter
[/quote]

I have this programmer: http://cgi.ebay.com/40-ZIF-USB-Interfac ... 286.c0.m14

I flashed the 18F2550 with that, i seemed to flash ok, but I have not tried it yet because the 3.3v programmer (brenner9) i'm currently building is not yet finished ;) The 18F is loaded with a bootloader so It can do a "self update" of the firmware.
56
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
[quote author="ian"]
Ah, sorry, I misunderstood. Good to know.

rvbcrs, please let us know how it goes. I tried to get a 'sample' to review at Hack a Day, but they weren't very responsive.
[/quote]

I just got a message that the shipped the item! so I guess the waiting starts now ;) as soon as its in, I will let you guys know..

Until then I proceed to build the "Brenner9" witch I posted on earlier, if that works I will post it here too. I only had some problem with getting a weird transistor BF959.. I normally always order my stuff at Farnell and they did not have the part. And a BC328-25 does anyone know if I can just use the BC328 instead?
57
Hack a Day projects / Re: Programming the PIC24FJ64 on the BC Webserver
I ended up buying this one: http://cgi.ebay.com/Mini-USB-PIC-Compatible-Debugger-Programmer-Mplab-ICD2_W0QQitemZ110425954068QQcategoryZ4661QQcmdZViewItemQQ_trksidZp4340.m183QQ_trkparmsZalgo%3DSICDD%26its%3DI%252BC%252BS%252BIA%26itu%3DSI%252BUS-WHR%252BUCI%252BIA%252BUCC%252BPSS%252BCRS%252BIT%252BUA%26otn%3D4%26ps%3D33

I hope I can do everything I want with it, but is is Mplab ICD2 compatible so I think it will be ok I ended up buying it for 36 euro witch is 2 euro more expensive then the official PICKit2 so I think it is a nice deal.
58
Hack a Day projects / Re: Web server build with live site
Damn I wish I knew this a little bit sooner, I have several boards on the way from china now, is there any way I can use the currently sold item from sparkfun? without altering the pcb, because they are all etched by now...
60
Hack a Day projects / Re: Web server build with live site
[quote author="ian"]
Quote
Yes, also on the daughter board under the SD card holder,  that was necessary because the holder Sparkfun shipped us was the same as the original part number but a different footprint...

That was the primary reason why I didn't publish v2. I was horrified that they did this, and I stopped sourcing from them immediately after. I wish they had changed the part number and left a place holder page with a link to the new one. I felt extra bad because I had just specified the same part on the DIY photo frame article a few months earlier when I found out, but fortunately it seems like nobody tried to make that ;)
[/quote]

Damn, I just ordered four MicroSD sockets at the SparkFun site, can't I used those now?

( ! ) 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.01722451360session_write_close ( )...(null):0
20.01752582976ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01762583752Database_MySQL->query( ).../DatabaseHandler.php:119
40.06192722504Database_MySQL->error( ).../Db-mysql.class.php:273