Search results

  1. A

    Teensy 4.1 QNEthernet low throughput

    hey thanks for that tidbit . . . updated the buffer part of the code to do what u said . . . if (rvCore.available() > 0) { // data available while (true) { int avail = rvCore.available(); if (avail <= 0) break...
  2. A

    Teensy 4.1 QNEthernet low throughput

    Im trying to interface a teensy 4.1 to a luckfox pico max using ethernet. The teensy is utlilizing the QNEthernet library and just some basic socket code on the side of the luckfox. The purpose of the setup is to use the teensy as a display driver and provide an simplified interface for the pico...
  3. A

    Questions Surrounding Space Saving Options in Code

    Maybe that was a bad example because it has same strings throughout. I was just showcasing it in particular since it was one of the smaller ones that don't extend 50+ loc. But it's pretty much if not the same case throughout. On larger portions that have different strings it even increases code...
  4. A

    Questions Surrounding Space Saving Options in Code

    maybe im missing something. Lets take a direct example out of my code . . . // interface FLASHMEM int asCScriptEngine::RegisterGlobalFunction(const char *declaration, const asSFuncPtr &funcPointer, asDWORD callConv, void *auxiliary) { #ifdef AS_MAX_PORTABILITY if( callConv != asCALL_GENERIC...
  5. A

    Questions Surrounding Space Saving Options in Code

    Ive been working on making a scripting language work on the teensy. it however does not completely fit into ITCM memory space. Ive started to go through and mark areas that is not directly tied to the runtime to be executed from flash via the FLASHMEM declaration. I have a question now about the...
  6. A

    Call to arms | Teensy + SDRAM = true

    thanks for the reply. I had just looked into how to actually do the math for the timings and yeah . . . i am way off . . .
  7. A

    Call to arms | Teensy + SDRAM = true

    Thanks for all the people that worked on this to figure it out how to add sdram and creating libraries to work with it. I certainly would not have tried as it is beyond the scope of what i know how to do. So . . . I am starting to work on creating a custom board for a project of mine and wanted...
  8. A

    Help With Teensy Schematic General Questions

    This would without anything any between. As in a direct power line and only that. I was asking because in the startup guide it mentions that 1.1v or something around is initially fed into SNVS_IN and then later after the rest of the stuff happens it gets changed to 3.3v. so I didn't know if...
  9. A

    Help With Teensy Schematic General Questions

    allright thanks for that . . . did a little more research and man can they be valuable it seems for ringing. On the other topic i can just feed 3v3 into VDD_SNVS_IN right? since by the time the internal regulator powers up it is already feeding the voltage back into the system?
  10. A

    Help With Teensy Schematic General Questions

    The l# is L3 I just accidently hit the shift at the wrong time . . .but kinda clueless what a Ferrite 120 is supposed to mean
  11. A

    Help With Teensy Schematic General Questions

    Im looking at the teensy schematic and it says that the usb_vbus inputs are not required. So to make sure im reading this corectly for a board im working on I can just feed my regulateded 3v3 output into VDD_SNVS_IN and that should be fine to kickstart the process? Also it shows the rating for...
  12. A

    BITBYTE : LEARN CREATE PLAY

    my goodness u have no idea how grateful I am for that. Marketing is in no ways my strong suite so that was so needed and appreciated. I really only thought u might post the original stuff in your forums because (at least from my perspective) its a neat little project. But that is so so so helpful.
  13. A

    BITBYTE : LEARN CREATE PLAY

    Yeah i initially was going to post it on the other one but after reading the tooltip for general decided it was better to be posted here. Just didnt think about closing it off as I was called away to other things and forgot.
  14. A

    BITBYTE : LEARN CREATE PLAY

    Ayo didnt expect you to put a kickstarter link in it as well. Thanks very much for that :D . . .
  15. A

    BITBYTE : LEARN CREATE PLAY

    Also . . . 100% self promotion moment here but I am also running a kickstarter for this if it interests you. Need to get the final built and then will try to see about making a lesson plan as this was designed with a low bar of entry to get into it and wanted to make it something that can be...
  16. A

    BITBYTE Development Console

    Also probably should have put this in but here is the back of the current board . . . ull have to excuse my crappy soldering skills and mountain of hot glue :D
  17. A

    BITBYTE : LEARN CREATE PLAY

    This is something I have been working on for a bit over a year now just wanted to show it off . . . cause u know . . . is fun. BitByte is a development console designed to make it easier to learn how to program and a platform made for creating and sharing games and...
  18. A

    BITBYTE Development Console

    This is something I have been working on for a while now. BitByte is a development console designed to make it easier to learn how to program and a platform made for creating and sharing games and programs for breadboards. Utilizing a custom scripting language that loads programs and games off...
  19. A

    Help Understanding This Code . . .

    I will look further into the forum. But thanks for the reply.
  20. A

    Ordering boards in larger quantities

    I am working on a custom game console using the teensy 4.1 as it is just an amazing product and Paul being so darn active with development makes it way better than other mcu's on the market in my humble opinion. I am getting pretty close to start creating pcb's and suck at designing anything...
  21. A

    Help Understanding This Code . . .

    the ram chips im using are the adafruit "generic" ones which are either the esp-psram64 or esp-psram64h (more than likely the h varient with the clock stated ) . . . they are working fairly reliably and havnt had an issue so far with the higher clock rates. though they do seem to got out of...
  22. A

    Help Understanding This Code . . .

    yeah thats why i mentioned 3 and 1 values specifically . . . cause so far that has given me the fastest results . . . at 2 and 1 the psram no longer continues to function . . . but if my thinking is correct that 1 would be the cpu clock itself i can figure that out pretty quickly with some other...
  23. A

    Help Understanding This Code . . .

    thanks that helps clarify and helps me to know what to start looking for . . . u dont happen to know if issues arise from increasing the clock rates do you? especially in regards to psram? also does this only affect psram or is it attached to other stuff as well? also . . . just as a side thing...
  24. A

    Help Understanding This Code . . .

    could someone help explain what this code means? I understand the overall gist that it increases the psram spi speed . . . but maybe something a little more in regards to what the 4 and 2 actually do . . . how 132mhz is calculated from that //Reset psram clock to 132 Mhz (default is 88mhz)...
  25. A

    Teensy 4.1 PSRAM Random Access Latency

    holy crap this is old but this right here saved me so much damb time trying to figure out why my programs were getting same performance as an esp32s3. the esp32s3 has same psram speed as teensy default and clocking it to 132mhz made my prgram work way way faster due to less memory latency now...
  26. A

    Teensy 4.1 extmem_malloc fails

    ok that makes sense. Thanks for letting me know that. will keep that in mind when doing future memory stuffs. Very good to know. But, that does beg the question then why does calling sm_realloc_pool directly allow it to happen? I only briefly looked at the code and it seems to not be doing much...
  27. A

    Teensy 4.1 extmem_malloc fails

    happens quite a bit. as any new object that needs to be created is first ran through that function. However, since extmem_realloc is simply just a wrapper to the sm_realloc_pool with the addition of seeing if u even have external ram, why would that matter? after i replaced the wrapper with the...
  28. A

    Teensy 4.1 extmem_malloc fails

    well i figured out the issue extmem_realloc(pointer, size) . . . does absolutely nothing sm_realloc_pool(&extmem_smalloc_pool, pointer, size) . . . actually reallocates the external memory now not saying it just doesnt do anything . . . but calling that from c code is doing nothing . . . i have...
  29. A

    Teensy 4.1 extmem_malloc fails

    I am using a Teensy 4.1 for a project and need to dynamically allocate and reallocate memory throughout the life of the program. I have soldered on 16mb of psram and the memory test passes . . . but every time i attempt to use extmem_realloc and extmem_malloc it returns null each time and no...
Back
Top