Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem with junebug

Status
Not open for further replies.

jerryf

New Member
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.
 
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?
 
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
 
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.
**broken link removed**

Also download from my downloads page the two (wish I had time to do more) JPUG issues.
 
I just stopped the pickit 2 software and had only swoardfish running and I still get the reset message.
Jerry
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top