Test my Embedded Web Server!


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    I find it difficult. But if one knows C at a level that can read the code, why botherdo it in PBP?

    Ioannis
    Thanks Ionnis. Unfortunately, I can't do C ... well other than flash an LED.

    It is unfortunate though. All the Microchip's ANxxx used to be written in assembly. With some modifications, we were able to use these as includes files with our PBP. Now Microchip seems to be using C exclusively in their more recent examples, and I don't see any assembly examples. Without a way to include the C files, we can't use the examples, and that it is a shame.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dumb question...
    When a C file is compiled in MPLAB is an ASM file generated?
    Or does it go straight to HEX?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,134


    Did you find this post helpful? Yes | No

    Default

    I am sure that compiler outputs both asm and hex files.

    I smell wat you are cooking, but I believe that the produced asm file is quite difficult to read.

    Ioannis

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    When you're using a Microchip C compiler there is no asm file.
    There appear to be a few files on the way to hex, but at a glance,
    there doesn't look to be anything I can read.

    This code ends up on a 16 bit dspic that PBP doesn't support.
    The code in this server is based on what you have posted here,
    but with addition of SD card support and some other things.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Well that blows that idea.
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

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