Like Tree20Likes

Hyperterminal and MPLAB in C

This is a discussion on Hyperterminal and MPLAB in C within the C Programming forums, part of the General Programming Boards category; Yes that is one of the header files I am using. So I fixed all of the code errors. But ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,541
    More work of what you should be doing.

    EFFS THIN
    Name:  Screenshot at 2013-02-27 18:55:35.jpg
Views: 44
Size:  25.7 KB
    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.
    stahta01 and tzzr101 like this.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  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.

Page 4 of 4 FirstFirst 1234
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, 06:40 PM
  5. Hyperterminal????
    By gvector1 in forum C# Programming
    Replies: 3
    Last Post: 01-22-2004, 07:54 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21