Shop OBEX P1 Docs P2 Docs Learn Events
DE2-115 Active Serial Programming-- fail — Parallax Forums

DE2-115 Active Serial Programming-- fail

rjo__rjo__ Posts: 2,114
edited 2015-01-03 16:27 in Propeller 1
I have been exclusively using .pof files and active serial programming. I was doing some experimenting with pik33's code and began having an issue that the code would seem to load but then faIl. I assumed it was my code and continued to chase the problem for several days, while I tried to track down the source of "my bug."

Finally, I exhausted all of my known paths and went back to a .pof file that I knew was good and had the same issue... active serial programming again appeared to load but no prop could be found... but the .sof file and JTAG worked just fine. Then I found that the .pof fails when I chose the "verify" option in the Quartus Programmer.

I am pretty sure this is a hardware problem, but before I conclude this ... is there anything that I could have done to my global environment that could cause this? I have looked at it
and it doesn't seem likely, but it doesn't hurt to ask:)

Thanks,

Rich

Comments

  • pik33pik33 Posts: 2,366
    edited 2015-01-02 08:21
    If .sof works and .pof doesn't it may be failed configuration device.

    Be careful with .pof. I do all my experiments with .sof only. using .pof only for some stable things. Active serial programming in the reality is burning the flash. The flash has limited count of write operations.

    If .sof works and .pof doesn't it may be failed configuration device.

    Try to clear the EPCS device several times.

    Then make a simple project. Something like sw->not->led. Compile, burn, try if it works. Also you can try disabling compression when making .pof
  • rjo__rjo__ Posts: 2,114
    edited 2015-01-02 09:40
    Thanks pik, not at home right now have to fiddle with it later. Hard to believe I exceeded my write limitation... so clearing the device sounds like the trick.
    The other advantage of JTAG is that it is nice and fast:)
  • steddymansteddyman Posts: 91
    edited 2015-01-02 10:04
    I had a try at programming a pof file a while ago and it always failed for me too. Wasn't sure if it was because I was using a VM but sof always works.
  • pik33pik33 Posts: 2,366
    edited 2015-01-03 10:40
    pof should work too. I use these when I get a stable or near stable compilation, then I program .pof to have the system start when switched on.

    What is your problem with pof?
  • steddymansteddyman Posts: 91
    edited 2015-01-03 16:27
    Mine was it would just randomly fail part way through programming at different points.

    I retried it about 10 times and it failed at a different point each time. Then I gave up.
Sign In or Register to comment.