because you're using PM to compile. use
Code:@ device pic16F877A, hs_osc, wdt_on, lvp_off, protect_off
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Nope wont take it, comes up with WARNING 207 found label after colum 1.(device)
and Error 122 illegal opcode (pic16f877A)
BTW Triedbut it just wont auto program with Picflash even when I put those paramaters in., does it manually fine but still have to change the XT to HSCode:-pPIC$target-device$ -f$hex-filename$ -e -w
You must make sure you PGM jumper settings are right too.Code:@ __CONFIG _HS_OSC & _LVP_OFF
Last edited by mister_e; - 9th April 2008 at 17:35.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I don't have the EasyPIC 5... but his ol' version 4
let's see the programming jumper in the following PDF
http://www.mikroe.com/pdf/easypic5/easypic5_manual.pdf
look at page 12. PIC16F877A use RB5 for PGM, your jumper group (J10) must be set exactly as they show.
and then you also have to make sure the Socket Selection one are also properly set. PDF page 13, figure 12.
Next.. figure 14... MCLR as RESET.
Next.. figure 15 OSC jumpers
now you can also set your Pull-up/Down resistor with with your dip switches and jumper located on the right of your board.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OMG Your a star
It now programs as well as compiles and i dont have to start Picflash manually
However I've still got the problem of trying to set hs_oscThe only way I can set it is manually with the picflash program, I cant find any way they Microcode studio will let me set it in the program
Bookmarks