Porting code to new PIC


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c View Post
    Thanks Dave.

    My christmas present to myself arrived today - . . .
    I was on the naughty list . . . I didn't even buy me a present!
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default dissapointed

    Uhmm. Well I finally got chance to play with some of my new add-ons last night. I had to go over to the Dark Side and downloaded the example files from Mikroelectronica's web site, but no matter what chip I used (including the recommended 18F4520) couldn't ping the "server" let alone view the basic website in the HTTP example. The 10Mb connection LED lit and there was the occasional flicker on the activity LED, and I even modified the code to flash an LED on the EasyPIC5 board prior to waiting in the packet loop so I knew the chip was running OK.

    Looking on their support forum, it seems quite a common problem, especially as the examples are for the standard (now unsupported) microbasic and not the pro version, and a lot of the threads seem to stop dead with no resolve... (unlike this lovely place where people help until the problem is fixed )

    It would be nice if PBP could support ethernet in the same way Mikrobasic does (dedicated library files and websites in strings).... maybe this could be Darrel's next gift to the PBP community

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi, Malc

    You can try to contact Bruno Gavand ( program author ) here :

    http://www.micro-examples.com/forums/

    ... hé,hé ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks,

    I've registered and awaiting confirmation so I can post the questions. I'm sure it is something simple as I'm able to compile the code, upload it and the pic runs (modified the example to flash a LED on port B a few times as it went through the code. I also get a solid LED indicating connectivity and random flashes on the activity LED. I've tried 18F4520 with 4MHz, 10Mhz, 12Mhz xtals, and various OSC settings (HS-PPL etc) in the programmer - Tried it with pull ups and pull downs on portc.0, 1 and 2. Thing is that if I re-load my thermostat code into an 18F4580 and connect the RTC on port C it runs sweet. Turn off, remove the RTC module, plug in the serial Ethernet board and then burn the demo code (modified to contain my network IP dns etc setting) I get the same issue described above.

    Tried various examples from their website and still no joy. There is only one jumper on the ethernet board which selects the voltage - in my case 5v as that's the voltage of the supply and logic lines - this (according to the basic manual and schematic) enables the 3.3 regulator and routes the logic through the level shifter



    If anyone has some PBP code to try to confirm the SPI interface works between the PIC and the ethernet board - sorta flash LED if comms established - it would help put my mind at rest that there is no fault with the board

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