Thread: Hyperterminal and MPLAB in C

  1. #46
    Registered User
    Join Date
    Feb 2013
    Posts
    30
    Yes that is one of the header files I am using. So I fixed all of the code errors. But still get the Hyperterminal message cannot open csk_temp.txt. So my assumption is that there is either a format issue. Or I have not created the text file correctly. I created it in wordpad just a simple document full of about 4 "0" and a 1. So 0001 is whats in the document. Again not sure if that was the correct way to format that file or not.

  2. #47
    Registered User
    Join Date
    Feb 2013
    Posts
    30
    Ok so reformatted the card and everything and still getting an error! So now I know that it isn't able to read the file off the card so maybe some suggestions on naming? content? anything at all I'm really stumped.

  3. #48
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    More work of what you should be doing.

    EFFS THIN
    Hyperterminal and MPLAB in C-screenshot-2013-02-27-18-55-35-jpg
    Where are your calls to say
    - f_initvolume
    - f_mountdrive
    to make sure the SD card is actually installed and present as a file system.

    Where are your calls to say
    - f_getcwd
    - f_chdir
    So you have some idea of where you're opening the file in relation to the rest of the file system.

    You should have found all these function names on your big search of all the .h files for where f_open was declared, and seen the rest of them. Curiosity should have taken over at that point.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #49
    Registered User
    Join Date
    Feb 2013
    Posts
    30
    Ok thanks you, I have located only one of the four. So the sample code has f_initvolume but not the other three. This is the problem, I am going to look in the files that are not included as of now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 08-02-2012, 06:15 PM
  2. how its done(hyperterminal)?
    By stefan63 in forum Windows Programming
    Replies: 17
    Last Post: 03-25-2011, 04:24 AM
  3. mplab ide
    By russ4789 in forum C Programming
    Replies: 0
    Last Post: 03-29-2009, 09:05 AM
  4. C30 Compiler for MPLAB
    By Dukefrukem in forum C Programming
    Replies: 1
    Last Post: 11-08-2007, 07:40 PM
  5. Hyperterminal????
    By gvector1 in forum C# Programming
    Replies: 3
    Last Post: 01-22-2004, 08:54 PM

Tags for this Thread