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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Understood - just saying a T_3.6 has power to do...

    Understood - just saying a T_3.6 has power to do a whole emulation including processor - so other than specific timing for interfacing - it should have the power needed to do part of a computer - and...
  2. FYI ... Check out ::...

    FYI ... Check out :: github.com/FrankBoesing/Teensy64

    If a Teensy could interface to 6502 perhaps ... though ...

    Frank used a T_3.6 - with VGA or LCD output to emulate everything including the...
  3. Replies
    85
    Views
    1,125

    Yeah - post #80 and #81 were touching on that...

    Yeah - post #80 and #81 were touching on that page crossing and page++ writes.

    As noted the Check42() can be left perhaps safe and simple for reference, and add a version of check24() that crosses...
  4. Replies
    85
    Views
    1,125

    Nice - That is a better read write diff! Read is...

    Nice - That is a better read write diff! Read is 43.7 MB/sec and write at 26 MB/sec.

    The test loop on 42 fail looks unclean for counted stop printing - so just return after first error. It would...
  5. @LAtimes - this pull request was created :...

    @LAtimes - this pull request was created : github.com/PaulStoffregen/cores/pull/481

    If the change works in testing for you please confirm.
  6. Other func()'s in startup are decorated as...

    Other func()'s in startup are decorated as follows, and changing this func() allows it to work here as debug in a quick test:


    __attribute__((section(".startup"),...
  7. Replies
    85
    Views
    1,125

    Quick update to the sketch - goes spew nuts on...

    Quick update to the sketch - goes spew nuts on errors if the 0x42's are missing
    Check42() seems to work for starting on buffer boundary 'zero' and incrementing by 2048==W25N01G_PAGE_SIZE?

    ......
  8. Replies
    85
    Views
    1,125

    I went to see about block read details ... and...

    I went to see about block read details ... and this code seems confusing?


    int w25n01g_readBytes(uint32_t address, uint8_t *data, int length)
    {
    ...

    if (length > W25N01G_PAGE_SIZE -...
  9. Replies
    85
    Views
    1,125

    Wow 10X - something not perfect? The check42()...

    Wow 10X - something not perfect?

    The check42() code does read in 2048 blocks - maybe the low level code does lesser parts:

    w25n01g_readBytes(ii * 2048, x42, 2048);


    ...
  10. Replies
    85
    Views
    1,125

    After all the 'heavy lifting' you did ... it was...

    After all the 'heavy lifting' you did ... it was the 'least' I could do :) Have not even looked under the covers of the "magic" calls ...

    Any understanding why the writes are so close to reads in...
  11. Good answer @KurtE - var type 'size' was my first...

    Good answer @KurtE - var type 'size' was my first thought before reading code - then I got distracted seeing 'float' - and that post obviously a good summary of the issue.

    Without cast of...
  12. Looking at code the only odd thing is this: ...

    Looking at code the only odd thing is this:


    gyro_x_error = gyro_x_sum / average_cycle_count; //divide by average_cycle_count to get average deg/sec
    gyro_y_error = gyro_y_sum /...
  13. Replies
    85
    Views
    1,125

    Awesome work @Mjs513! This is more work than was...

    Awesome work @Mjs513! This is more work than was done to prove and show usage of the NOR_Flash - except for SPIFFS.

    Amazing it takes 5.2 sec for 128MB write of #42, and the READ compare is 4.7...
  14. Replies
    85
    Views
    1,125

    On and off here today - missed this by 3 hours...

    On and off here today - missed this by 3 hours ... awesome groundwork - There Is Life!

    And we have three T_4.1's with NAND's on board and no solder casualties! Seems Paul picked a suitable first...
  15. Replies
    4
    Views
    144

    Great - glad it worked.

    Great - glad it worked.
  16. Replies
    4
    Views
    144

    Open the IDE and do a VERIFY build on a known...

    Open the IDE and do a VERIFY build on a known good BLINK sketch - that should open and prep TeensyLoader.

    Then while pressing the Teensy Button - securely plug the USB cable into the Teensy.
    ...
  17. Replies
    85
    Views
    1,125

    Got it - after spare ' ' in 4 000 from post fixed...

    Got it - after spare ' ' in 4 000 from post fixed


    Begin Init
    Found W25N01G Flash Chip
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x00,...
  18. Replies
    85
    Views
    1,125

    Got github updated file. Extended the beefy[] as...

    Got github updated file. Extended the beefy[] as it was less than 20 so compiler warning.

    And in either case it isn't reading it back right :( - but it compiles.

    Begin Init
    Found W25N01G...
  19. Replies
    85
    Views
    1,125

    Back and got github ... Opps:

    Back and got github ... Opps:
  20. Replies
    85
    Views
    1,125

    YES @ECURTZ ... Awesome work! ... I thought of...

    YES @ECURTZ ... Awesome work! ... I thought of that as soon as I hit 'post reply' - but didn't see the change yet :)
  21. Replies
    85
    Views
    1,125

    @mjs513 - github NAND update pushed? Let me...

    @mjs513 - github NAND update pushed?

    Let me know where you are on Sublime Text integration. The batch files are easy - the work to trigger their execution hopefully documented - it is a bit of...
  22. Replies
    85
    Views
    1,125

    Awesome work @mjs513 See:...

    Awesome work @mjs513

    See: github.com/Defragster/Tset

    I think it links to Forum?

    Let me know ...
  23. Replies
    85
    Views
    1,125

    updated from github. Not sure it adds anything...

    updated from github. Not sure it adds anything but after print loop in setup() the following was added. Changed the offset address to 4004 and output the same as with 4000:


    for(uint16_t i...
  24. Replies
    85
    Views
    1,125

    Not sure if this is relevant - had an edit to...

    Not sure if this is relevant - had an edit to startup.c to comment out the call to :: configure_external_ram();

    Without that done the NANDflash code sample died after : Begin Init

    This T_4.1...
  25. can a complete sketch to test and repro the issue...

    can a complete sketch to test and repro the issue be posted?
  26. I was going to mention GDB - but not sure it gets...

    I was going to mention GDB - but not sure it gets that far - worth a try ...

    Paul: Should any of this work? pinMode() and the globals are not usable in the _hooks() ???
    >> Wrote this to try to...
  27. Replies
    85
    Views
    1,125

    @mjs513 - Was suggesting more Dprint() just in...

    @mjs513 - Was suggesting more Dprint() just in case there is a surprise failure in the manipulation.
    Maybe prints for status or other without too much code clutter:


    #define DHprint( a ) {...
  28. Replies
    85
    Views
    1,125

    @mjs513 - updated from github. Looked through the...

    @mjs513 - updated from github. Looked through the code assuming low level stuff right - found some few questions ...

    Just browsing lines. The buffer[] to write is zeroed then values set 0x19,...
  29. THIS DOES REPRO on T_4.1

    Copied presented code into IDE - compiled default and it worked.

    Changed to DEBUG and the Teensy HANGS/goes away after upload.

    Indeed takes a BUTTON to get to bootloader and a reset then (...
  30. Replies
    85
    Views
    1,125

    :) Did first pass and looked and there were...

    :) Did first pass and looked and there were pulled solder hairs on all four pad far ends - using newer finer wire solder.

    Made a 30 gauge wire solder paste applicator and touched a tad on each and...
  31. Replies
    85
    Views
    1,125

    I found this result: Begin Init 0 18...

    I found this result:


    Begin Init
    0
    18
    Status of reg 0xb0:
    (HEX: ) 0x18, (Binary: )11000

    Found W25N01G Flash Chip
  32. Adding to that github Teensy WIKI...

    Adding to that github Teensy WIKI is a good thing. PJRC wiki been needed a long time - but small company priorities - making hardware and designing new and shipping eats up time - then things like...
  33. If the image to upload exceeds some size ( 1GB ?...

    If the image to upload exceeds some size ( 1GB ? ) it will cause a fail with no note as to why.
  34. Replies
    4
    Views
    150

    Starting with SPI access should let the data be...

    Starting with SPI access should let the data be read so it doesn't get munged in working toward QSPI? Not that the driver is there for that either - but probably more similar to others?
  35. Replies
    4
    Views
    115

    Digital divider math for setting the clock given...

    Digital divider math for setting the clock given the available base clock freq. A given clock and freq feed that hardware. It gets divided down to the 'suggested' with the best binary bits available...
  36. Replies
    4
    Views
    115

    Just reading the displayed first image on SCL...

    Just reading the displayed first image on SCL clock line - looks like it suggests f=375KHz, so freq is toward but not beyond 400KHz
  37. Replies
    797
    Views
    33,495

    Awesome - glad that worked! The old irons seem...

    Awesome - glad that worked! The old irons seem to have lost their cords - good they got replaced :)

    On startup the chip uses SPI to be recognized and then gets dropped into QSPI mode to run.
    ...
  38. Replies
    85
    Views
    1,125

    From prior post - and info this is what was...

    From prior post - and info this is what was ordered:

    Post #1 and copied over Paul post #4 matches part Number.

    digikey.com... winbond-electronics/W25N01GVZEIG-TR/W25N01GVZEIGCT-ND/7393545
  39. Replies
    85
    Views
    1,125

    @mjs513 - in github section for extRAM...

    @mjs513 - in github section for extRAM - made a folder there for extNAND_t41 so code is available and can be source controlled? ... rather than forum hacking.



    USPS says the NAND's ordered will...
  40. No that would be an added setting. Not sure if...

    No that would be an added setting. Not sure if that changes the speed when doing the non-repeating reads here - but may only affect the continuous type? Easy to test with a couple of loops with the...
  41. Wish there were one or more of your sensors set...

    Wish there were one or more of your sensors set up here so I could see. Never looked this close at it before - and only from the code end. Not sure of the effect on the reading with the fast...
  42. Indeed - need to account for the extra bits. 12...

    Indeed - need to account for the extra bits. 12 bit Conversion takes a tad longer so ideally the 10th bit less jumpy with right shift of 2 or divided by 4. Then treat the same as the 10 bit samples....
  43. Replies
    85
    Views
    1,125

    Awesome :)

    Awesome :)
  44. Pre-Processor is just text replacement as used. ...

    Pre-Processor is just text replacement as used. It can take 'param' letters for use - but that not done there as I just wanted to be able to put in code or if commented - take out that "someWork"...
  45. Welcome back to Teensy. Stupid Computers.

    Welcome back to Teensy. Stupid Computers.
  46. Replies
    11
    Views
    196

    c/c++ are cleverly designed to do as told - for...

    c/c++ are cleverly designed to do as told - for better or worse - c++ did incorporate some typical clever stuff that all the cool kids were doing

    proper use of 'extern' is needed to avoid...
  47. adc_pins[] array reference indexing like in the...

    adc_pins[] array reference indexing like in the for(i=0... ) code when unrolled added processor cycles - it seemed because 'i' was no longer an active variable stored in a register.

    ...
  48. Enjoy ... These are test code : #define...

    Enjoy ...

    These are test code : #define someWork and someWork_Global
    and any use or ref of waitCnt

    And this and any of the vars are just for measuring and limiting output to 1/sec:


    if...
  49. Just coded that in place - where someWork and...

    Just coded that in place - where someWork and someWork_Global are just placeholders for timing measure:


    #define someWork_Global { delayNanoseconds(3500);} // Delay waiting for first data to...
  50. That someWork delayMicroseconds() was to get some...

    That someWork delayMicroseconds() was to get some measure of the amount of time available to do "Work" without affecting the actual throughput of the reading. With that active watch the reads per...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4