Sorted it myself. What I did, when I changed the .dat file I must not have saved it back. When I rechecked the file the FreeRAM and NoBankRAM settings were as before, unchanged.. (Durr... What a dummy!)
Couple of notes for anyone visiting these animals..
If you don't declare Ansel = 0 Port C does not respond
If you leave the clock at 4Mhz your Wait instruction runs faster. i.e. as above in Wait 300Ms gives you an actual tome of 150Ms
Hope this makes sense
Regards
Keith
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone again, Once more I find myself struggling with the most simplest of tasks.
I don’t seem to be able to get this little beast to function.
The code I'm using is as follows:-
;Chip Settings
chip 16F610,4
config OSC=INTRC_OSC_NOCLKOUT, MCLRE=OFF, WDT=OFF
Ansel = 0
DIR PORTA b'001000'
DIR PORTC b'000000'
Main:
Do Forever
Set PORTA.0 On
Wait 300 ms
Set PORTA.0 Off
Wait 300 ms
Loop
I have read through some of the posts about 16F610 and amended the .dat file
as follows:
[FreeRAM]
40:6F
[NoBankRAM]
70:7F
But still, the little so and so just sits there doing now't!
As ever any help would be most appreciated.
Keith
Sorted it myself. What I did, when I changed the .dat file I must not have saved it back. When I rechecked the file the FreeRAM and NoBankRAM settings were as before, unchanged.. (Durr... What a dummy!)
Couple of notes for anyone visiting these animals..
Hope this makes sense
Regards
Keith