HSERIN & Interupts (aka controlling PIC programs from a remote PC)


Results 1 to 17 of 17

Threaded View

  1. #17
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    DOH IT WORKS!!!!!

    The Solution? (not sure I should even say, but rather try flam it off as an ahem "a very technical issue")

    I'm using a Pickit2 as my pseudo VT terminal ...I've hardwired a switch on the low pin count demo board which allows me to go from programmer mode to VT emulator mode (saves having to buy MAX232 + other components & can also use the USB cable for the PC-PIC serial comms etc - http://www.picbasic.co.uk/forum/show...1&postcount=21 ) ....sometimes, if I don't flick the switch back from VT terminal mode to programmer mode in time (while PicBasic Pro is compiling), the Pickit2 app then tries to auto update the PIC with the new HEX - but doesn't see it (becuase I never flicked the switch in time) & everything locks up. This necessitates closing the Pickit2 application down & restarting it.

    So, I'd become so focused on the code, that I'd overlooked that when I have to restart the Pickit2 app, that I need to tick the 'apply VCC' box to power up the PIC

    Therefore in summary...this last hurdle was nothing more sinister that my Pic not having any power applied to it from the Pickit2 ....(I reckon my original problems were nailed with the formatting problems)


    I'm chuffed to bits - I can't thank you all enough - I'm now off to make some LEDs light up when I press PC keys. My 2yr old son won't be happy as Thomas the Tank Engine has just started & I'll be saying things to him like "hehe... hey son, look at this LED light up - it's all interrupt based you know?". Two year olds of today - they know nothing.
    Last edited by HankMcSpank; - 17th June 2009 at 15:05.

Similar Threads

  1. Replies: 24
    Last Post: - 2nd October 2017, 11:35
  2. Direct PIC to PC without MAX232
    By acjacques in forum Serial
    Replies: 14
    Last Post: - 23rd October 2014, 21:32
  3. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 22:04
  4. Replies: 67
    Last Post: - 8th December 2009, 02:27
  5. Controlling power to a PIC with another PIC
    By jswayze in forum Off Topic
    Replies: 3
    Last Post: - 28th May 2005, 19:44

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts