Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 30th November 2008, 02:15 PM   #1
Default Problem with junebug

I purchased the junebug assembled.

I pluged in the junebug into the usb port.
I get a green led, and a yellow led

I run the pickit 2 software (the first time something was uploaded or updated)

i get message pickit 2 found and connected
i flipped switches 12&3 on
under PIC18F Configuration I see Device: pic18f2320
I copied the blink_1.bas into swordfish and clicked on the compile and program under the project menu.

I get a message-loader message
reset required
please reset the target microcontroler in order to access the bootloader process

I press the reset button with no effect.
nothing flashes, message does not go away

Has anybody got any ideas what i am doing wrong.
Does anybody know where I can get instructions on using the junebug as development tool.
jerryf is offline  
Old 30th November 2008, 03:37 PM   #2
Default

Are you sure it's 18F2320? It should be 18F1320.

The reset button is only for the tutors 18F1320 and only really needed when the programmer is not using it.

Can you post your program?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 30th November 2008, 03:52 PM   #3
Default Your are right is does say PIC18F1320

You are right it does say PIC18F1320

my code for swordfish..
// Name : BLINK_1.BAS
Device = 18F1320
Clock = 4 // 4MHz clock
Include "junebug.bas"
Dim Count As Byte
OSCCON = $62 // select 4MHz internal clock
ADCON1 = %11110101 // digital I/O except RA1 & RA3
While True
For Count = 0 To 6
LED(Count) // light LED(1..6) or none LED(0)
DelayMS(300) // delay in 1000s of a second
Next
Wend // repeat forever
End

In swordfish
I copied and pasted the code from the junebug page
I click compile & program and
I have the pickit2 running and I get the reset message

I have a yellow and a red led lit on the junebug and I have switches 12&3 on
Thanks Jerry
jerryf is offline  
Old 30th November 2008, 04:00 PM   #4
Default

Swordfish can directly program PICs with the Junebug, page 9 of the assembly manual shows how. The PK2CMD.exe (plus manuals & more) can be downloaded here.
http://www.microchip.com/stellent/id...cName=en023805

Also download from my downloads page the two (wish I had time to do more) JPUG issues.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 30th November 2008, 04:04 PM   #5
Default

I only have 4 sheets of paper, 8 pages for the junebug pic laboratory assembly instructions.
jerryf is offline  
Old 30th November 2008, 04:10 PM   #6
Default

I just stopped the pickit 2 software and had only swoardfish running and I still get the reset message.
Jerry
jerryf is offline  
Old 30th November 2008, 04:44 PM   #7
Default

Download the 12 page update for the manual on my site. Page 9 is all about Swordfish and it applies to all Junebugs.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Reply

Tags
junebug, problem

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
IR with junebug AtomSoft Micro Controllers 5 16th March 2008 03:02 PM
bra & WDT Junebug AtomSoft Micro Controllers 17 3rd March 2008 03:51 PM
JuneBug + LEDMUX UTMonkey Micro Controllers 22 10th December 2007 09:53 PM
My JuneBug is Here! UTMonkey Micro Controllers 15 7th December 2007 07:25 PM
Junebug INT2 problem futz Micro Controllers 9 15th November 2007 03:32 AM



All times are GMT. The time now is 04:15 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker