Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: ecurtz

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. My takeaway from the 1060 manual was that the...

    My takeaway from the 1060 manual was that the built-in PXP stuff wasn't actually useful unless you were directly driving the output on the LCD interface.
  2. Replies
    11
    Views
    543

    Stay safe everyone! It's "only" in the 200s here...

    Stay safe everyone! It's "only" in the 200s here in western WA and even that is miserable. A good time to stay indoors if you can and work on those Teensy projects.
  3. Just as a reference, on my MacBook (Pro 2016 -...

    Just as a reference, on my MacBook (Pro 2016 - Mojave) if I do the 15 second restore it will be seen by Teensyduino in "HID Mode" but not as a USB device for Teensy Loader.
  4. Replies
    235
    Views
    27,161

    I'm suggesting that the second board in the 5...

    I'm suggesting that the second board in the 5 series would be in a new format, the first would still be in the traditional Teensy layout.
  5. Replies
    235
    Views
    27,161

    I really think that rather than the breadboard...

    I really think that rather than the breadboard and longer breadboard form factor it's time to move to a breadboard and module release where the "5.1" equivalent is available on a castellated module...
  6. Replies
    6
    Views
    252

    Thanks for the responses! This version does...

    Thanks for the responses!

    This version does appear to be giving plausible results as long as it's called prior to switching to 4bit transfers. I would not be at all surprised if some of the flags...
  7. Replies
    6
    Views
    252

    So far I haven't had any luck getting anything...

    So far I haven't had any luck getting anything but SDHC_RESULT_ERROR from CMD6. Some of the flags are just guesses based on the other commands, but I've tried all the variations I can think of.
    ...
  8. Replies
    6
    Views
    252

    NXP_SDHC.cpp TODO - High Speed Mode

    Is there a technical reason other than too few hours in the day that high speed mode hasn't been implemented in NXP_SDHC per this TODO note? I might try it, but if there's a known issue I won't...
  9. I'm moving back around to this on my current...

    I'm moving back around to this on my current project and would be happy to contribute however I can as soon as there is some sort of marching orders. My personal goals are some level of compatibility...
  10. Glad you got it working. I hope that as soon as...

    Glad you got it working. I hope that as soon as the upcoming "generic File" stuff from Paul is finalized there will be a push for a more unified library for this stuff.
  11. It looks like some of your constants are wrong as...

    It looks like some of your constants are wrong as well. The registers should be A0, B0, C0 rather than 0A, 0B, 0C
  12. I'm pretty sure you should be in SPI mode 0 the...

    I'm pretty sure you should be in SPI mode 0 the whole time rather than switching to mode 3.
  13. Replies
    50
    Views
    1,684

    Q(5) = Green Package (Lead-free, RoHS Compliant,...

    Q(5) = Green Package (Lead-free, RoHS Compliant, Halogen-free (TBBA), Antimony-Oxide-free Sb2O3) with QE = 1 (fixed) in Status register-2. Backward compatible to FV family.
    M(6) = Green Package...
  14. Replies
    4
    Views
    255

    Right click on the .hex file in VSCode and select...

    Right click on the .hex file in VSCode and select "Reveal in Finder"
  15. Replies
    158
    Views
    4,981

    After my patented "see what's on GitHub" search...

    After my patented "see what's on GitHub" search process I also thought dhara looked interesting, but whatever Paul is planning in terms of the new file abstraction might make a big difference in the...
  16. Replies
    158
    Views
    4,981

    This is how I understand it. Any of this could be...

    This is how I understand it. Any of this could be wrong.

    On the 1062 side
    CAS is where the 1062 divides a 32 bit address into the column and the page.
    The value in the LUT defines how many bits...
  17. Replies
    158
    Views
    4,981

    If CAS isn't set, isn't it going to fail on any...

    If CAS isn't set, isn't it going to fail on any address with bit 12 set because those aren't real pages, but ECC sections? What issue were you trying to fix with that change?
  18. Replies
    158
    Views
    4,981

    Unfortunately that's not how NAND flash works,...

    Unfortunately that's not how NAND flash works, you can clear bits from a 1 to 0 but not the other way, so you can't erase a single page, you have to use the block erase command.
  19. Replies
    158
    Views
    4,981

    Unfortunately erase is per block, so it has to be...

    Unfortunately erase is per block, so it has to be separate from the write.
    setTimeout() is treating timeoutAt as a time, but waitForReady() is using it as if it was a period.
  20. Replies
    158
    Views
    4,981

    There's a bug I forgot to mention in setTimeout /...

    There's a bug I forgot to mention in setTimeout / waitForReady. It should probably be updated to just use an ElapsedMillis object and a numerical timeout value? Anyway the version in GitHub is wrong.
  21. Replies
    158
    Views
    4,981

    Excellent. Hopefully that will be enough of a...

    Excellent. Hopefully that will be enough of a working baseline to build up the missing features.
  22. Replies
    158
    Views
    4,981

    Try erasing sector 0 (or the entire chip) first....

    Try erasing sector 0 (or the entire chip) first. The addressing was changed so it's unclear what would have been on there previously.
  23. Replies
    158
    Views
    4,981

    I thought it was broken when I tried to set...

    I thought it was broken when I tried to set Column bits to 11 but I think I had just messed up the ECC during my previous testing. So I think that will work with the caveat that we'll have to do some...
  24. Replies
    158
    Views
    4,981

    Hmm, the column address is 12 bits, but it only...

    Hmm, the column address is 12 bits, but it only "needs" 11 (maybe so you can access the ECC data?) But that means there's no continuous addresses.
  25. Replies
    158
    Views
    4,981

    Staying with a single page write to try and...

    Staying with a single page write to try and tackle one issue at a time. There's something address related to the odd/even pages.

    uint8_t page = 2;

    Serial.println("Non-Zero Test Write");
    ...
  26. Replies
    158
    Views
    4,981

    There were some problems with the timeouts in the...

    There were some problems with the timeouts in the read stuff, so the page wouldn't always make it to the buffer. I think this is another incremental improvement. I seem to be able to write and erase,...
  27. Replies
    158
    Views
    4,981

    This code is definitely loading into the buffer...

    This code is definitely loading into the buffer because when I use it for read() I can get back the test sequence that's somewhere on my chip. Who knows where that data might be, but it's saved and...
  28. Replies
    158
    Views
    4,981

    I don't have the 1050 manual, but from the link...

    I don't have the 1050 manual, but from the link you posted on page 1 it appears to be using 24bit page address with no dummy bits in the sample code LUT.
  29. Replies
    158
    Views
    4,981

    Well great, apparently some random thing I did...

    Well great, apparently some random thing I did during testing was what managed to get the ProgramExecute working because I 100% for sure have the data stored somewhere on my chip.
  30. Replies
    158
    Views
    4,981

    Try address 0 instead of 3000, as I said I'm not...

    Try address 0 instead of 3000, as I said I'm not at all confident about the page addresses, but I currently boot with no write code enabled and get the test sequence...
  31. Replies
    158
    Views
    4,981

    Made a tiny bit of progress. It seems that the...

    Made a tiny bit of progress. It seems that the operand on the commands using the page address is wrong. It was originally 0x20. I thought it should be 0x10, since it's only two bytes, but that...
  32. Replies
    158
    Views
    4,981

    It isn't currently formatting, but the chip is...

    It isn't currently formatting, but the chip is initially formatted, and we don't appear to be disturbing that yet. As far as I can tell nothing is actually making it from the on chip buffer to the...
  33. Replies
    158
    Views
    4,981

    Sorry I've been AWOL, but I don't think we need...

    Sorry I've been AWOL, but I don't think we need Paul just yet. I see a couple bugs and/or potential things to try still, so I'll see if I have any luck playing with it.

    Several methods using...
  34. Replies
    158
    Views
    4,981

    It looks like you are trying to write twice to...

    It looks like you are trying to write twice to the same page out of order, which I think is forbidden.

    memset(buffer, 0xFF, 2048);
    for (uint16_t i = 0; i < 2048; i++) buffer[i] = i;
    ...
  35. Replies
    158
    Views
    4,981

    I was assuming that it's possible to use TFDR0...

    I was assuming that it's possible to use TFDR0 and RFDR0 with DMA transfers, but I haven't actually investigated. I'll see if I can figure it out from the datasheet.

    EDIT: Yeah, you can, per page...
  36. Replies
    158
    Views
    4,981

    According to the datasheet writing within the...

    According to the datasheet writing within the chip is approximately 10x slower than reading, but I'm not sure how much of the time is the transfer which is probably the same speed either way. I...
  37. Replies
    158
    Views
    4,981

    Happy to contribute a little. It will be useful...

    Happy to contribute a little. It will be useful to have the support in the official library, so win / win. I think I've successfully read the bad block tables with my normal SPI code, but I haven't...
  38. Replies
    158
    Views
    4,981

    flexspi_ip_write in the current GitHub code is...

    flexspi_ip_write in the current GitHub code is definitely wrong, looks like a copy/paste error?
  39. Replies
    158
    Views
    4,981

    STOP is different than 0 which is what it's all...

    STOP is different than 0 which is what it's all initialized to, but I'm not sure if that matters - the bug was skipping over a LUT entry, from 40 to 42.
  40. Replies
    158
    Views
    4,981

    Ok, found a bug in the writeStatusRegister LUT,...

    Ok, found a bug in the writeStatusRegister LUT, this is still hacked up, but a big step toward working.
    20896
  41. Replies
    158
    Views
    4,981

    If you're referring to the write enable bit in...

    If you're referring to the write enable bit in the status register it automatically gets reset every time you do a "write" command (which is actually a couple different things) "A write disable state...
  42. Replies
    158
    Views
    4,981

    This is seriously hacked up and I'm only trying...

    This is seriously hacked up and I'm only trying to write to the on chip buffer and read it back, not even attempting to store the page, but it's doing a little bit better than the stuff from GitHub....
  43. Replies
    158
    Views
    4,981

    Got my new board and making a tiny bit of...

    Got my new board and making a tiny bit of progress. It seems like FLEXSPI2_IPCR0 always needs to have an address in the range of flashBaseAddr, probably because that's how it determines the chip...
  44. Replies
    1
    Views
    357

    I'm using SPI1 on a Teensy 4.1 - I had to use...

    I'm using SPI1 on a Teensy 4.1 - I had to use SPI1.setCS(38) and SPI1.setMISO(39) before calling SPI1.begin() because I was using those alternate pins, but MOSI and CLK are the same as yours and...
  45. Replies
    5
    Views
    494

    I'm sure they are very shorthanded right now, so...

    I'm sure they are very shorthanded right now, so bulk orders may be impossible, but when things return to normal I believe that emailing Robin is the preferred method for getting a quote on larger...
  46. Replies
    158
    Views
    4,981

    The ability to write to the protection register...

    The ability to write to the protection register is controlled by 3 bits of the status register as shown on the chart on page 16 of the datasheet.
  47. Replies
    158
    Views
    4,981

    You have to use the write enable command (0x06)...

    You have to use the write enable command (0x06) to set that bit, you can't do it by writing to the status register.

    EDIT: Actually maybe that's just for the regular writes and you need to use the...
  48. Replies
    158
    Views
    4,981

    Looks like you forgot to include the new code? I...

    Looks like you forgot to include the new code? I should have a new Teensy with the chip on it by the end of the week.
  49. Replies
    158
    Views
    4,981

    I understand this, but I thought the basic...

    I understand this, but I thought the basic commands encoded into the lookup table would still mirror the traditional method?
  50. Replies
    158
    Views
    4,981

    I assume you've looked at the example LUTs in...

    I assume you've looked at the example LUTs in sections 27.6.5 and 27.6.3 in the reference manual? I'm trying to get the HW guy to build me up a 4.1 so I can help, since I think the WSON package is...
Results 1 to 50 of 111
Page 1 of 3 1 2 3