How do I figure out what went wrong
imekon
Posts: 6
I've put together a Propeller chip and memory onto a custom board, fired it up. I plugged in a prop clip - it indicates there is a propeller chip present - it lets me download to ram or to rom - does that mean that everything should be working?
I have an LED attached to pin 5 (P4) so I tried setting it to turn it on, however I see no signal on the output - so I tried different outputs and nothing seemed to work.
I can see a 10MHz signal on the crystal.
Not sure where to go from here.
I have an LED attached to pin 5 (P4) so I tried setting it to turn it on, however I see no signal on the output - so I tried different outputs and nothing seemed to work.
I can see a 10MHz signal on the crystal.
Not sure where to go from here.
Comments
Harprit
CON
_CLKMODE=XTAL1+ PLL2X 'The system clock spec
_XINFREQ = 5_000_000 'crystal frequency
Con
pin=5
PUB Demo 'subroutine to toggle the output line
dira[noparse][[/noparse]pin]~~ 'gain access to line
repeat
!outa[noparse][[/noparse]pin]
waitcnt(clkfreq/4+cnt)
Thank you! Now the LED is flashing quite happily!
Phew, thought I'd created a duff board
http://imekon.blogspot.com/search/label/Hardware