Shop OBEX P1 Docs P2 Docs Learn Events
Prop C3 FLASH 1MB test failed — Parallax Forums

Prop C3 FLASH 1MB test failed

Hello,

I just realized that my recently purchased Prop C3 board fails the FLASH 1MB test (Writing).
But I also read in the "33209-Unleashing-Propeller-C3v1.0.pdf" book that some versions of C3 may ship with a flash memory chip from different manufacturers and thus may require corrected driver.
I use the demo suite from the Parallax FTP site: ftp://ftp.propeller-chip.com/PropC3/Sources/prop_c3_unit_test_010.spin
Any suggestions? Should I request the board to be replaced on warranty?

---
Marek

Comments

  • FYI
    Never mind guys, I apparently loaded older version of the test suite.
    When I loaded: ftp://ftp.propeller-chip.com/PropC3/Sources/c3_unit_test_010.spin
    the flash 1MB test passed.

    ---
    Marek
  • There's a version of FemtoBasic for the C3 that provides functions and statements to access both the flash memory and the serial RAM in addition to the usual stuff in FemtoBasic. Look in this thread for .zip files for both a VGA/PS2 keyboard and a serial version.
  • makarczmakarcz Posts: 14
    edited 2016-10-29 15:05
    @Mike Green
    Thank you.
    I tried VGA version.
    I experienced following problems:
    1) Previously saved BAS program on SD card loads, but produces: "Error while loading file". Other than the message, program loads just fine and can be executed. Note that the original TV version of FemtoBasic doesn't have the problem with the same file or any file saved from this VGA version with flash support.
    2) I could save to flash with colon prefix: SAVE ":hello2.bas", but:
    * file name must not exist on SD card (why?) or it just doesn't save. I tried to SAVE ":hello.bas" while I had the file with the same name on SD card. Did not save to flash. No error message.
    * could not load with LOAD ":hello2.bas"
    * when tried to save another program to flash, got error "Can't create flash file" and flash content was destroyed (no files). From this moment on I could not save anything to flash. Even after I reloaded C3 Femto Basic to RAM, I am still getting "Can't create flash file". The flash memory test passes though in C3 test suite.
    NOTE: After I erased first 16 kB of flash using erase command in Femto (erase 0:erase 1, erase 2, erase 3), I was able to save files again. However issues #1 and #2 still stand regarding other problems (error message and duplicate file name across SD and flash storage).

    ---
    Marek
  • It's probably bugs in this version of FemtoBasic. I threw it together pretty quickly. Also the flash file system is pretty simple. For example, it doesn't provide for overwriting an existing file. You do have to explicitly delete the current version before trying to create a file with the same name.

    I'll see what I can do about these bugs.
  • Hey, it's OK, no rush.
    I don't really need FemtoBasic right now, working on my own project and just exploring Propeller chip.
    I just provided the information about these problems FYI.

    Thanks!
  • Thanks. I'll look at it anyway.
Sign In or Register to comment.