Search results

  1. A

    CrashReport , addr2line returns ??:?

    I had the same problem but I compile from platformio, witch per default runs without the -g build flag that is neede for addr2line to work this is the thread that got me that answer https://forum.pjrc.com/threads/67998-Using-CrashReport-on-Mac-OS?p=291251&viewfull=1#post291251 and i think the...
  2. A

    T 4.1 FlexCan and Native Ethernet crash

    I think it is solved now. this line seems to have be the problem CAN_message_t *send_buf = new CAN_message_t[frame_num]; I did try to wrap it in __disable_irq() __enable_irq() because maybe the memory allocation was being interupted by an ethernet event, but that did not work I then...
  3. A

    T 4.1 FlexCan and Native Ethernet crash

    I got addr2line to work. I had to add build_flags = -g to platform.ini (look here for more info https://forum.pjrc.com/threads/67998-Using-CrashReport-on-Mac-OS?p=291308&viewfull=1#post291308) it points to .platformio\packages\framework-arduinoteensy\libraries\FlexCAN_T4/FlexCAN_T4.h:37 #if...
  4. A

    T 4.1 FlexCan and Native Ethernet crash

    Yes it is the debug print from ..\cores\teensy4\debug\printf.h I have tried both NativeEthernet and QNEthernet. QNEthernet works a bit longer than NativeEthernet. i am on platformio with teensy 4.14.0 CrashReport: CrashReport: A problem occurred at (system time) 16:19:17 Code was...
  5. A

    T 4.1 FlexCan and Native Ethernet crash

    I am trying to send data to the Can bus over ethernet things run fine for a while and the it craches and I get this message from the Debug/print.h need to switch to alternate clock during reconfigure of ARM PLL USB PLL is running, so we can use 120 MHz Freq: 12 MHz * 66 / 4 / 1 ARM...
  6. A

    Over the air updates

    Will your flasher4 program also work on T4.1 ?
  7. A

    Teensy 4.1 UDP and web server drop packets

    Thank you vjmuzik! i also tested with about 25k packets while refreshing the web page and nothing droped :)
  8. A

    Teensy 4.1 UDP and web server drop packets

    I have now tried with 1.54-beta-3 (Arduino 1.8.13) both only using the the included library of NativeEthernet and FNET or the newest from github and i still have the same problem here is the test code #include <NativeEthernet.h> #include <NativeEthernetUdp.h> // Enter a MAC address and IP...
  9. A

    Teensy 4.1 UDP and web server drop packets

    i am using the FNET that come with Teensyduino 1.53 and NativeEthernet from github https://github.com/vjmuzik/NativeEthernet i will try the beta now
  10. A

    Teensy 4.1 UDP and web server drop packets

    Hello I am trying to receive UDP messages and run a web server at the same time using the new T4.1 and native ethernet the server works fine but it drops a lot of udp messages. udp also works fine by it self any ideas?
  11. A

    Over the air updates

    I don't have a T_4.0 yet But i never got it to work on the T_3.6 because of the high clock speeds and needing to clock down before writing to flash. I am guessing it is the same for the T_4.0 There is most likely a way around it but i never found it. In good news i have used this version of the...
  12. A

    Ethernet on T3.6 SPI1 with FIFO

    i think it was mostly just switching from SPI to SPI1 in socket.cpp and w5100.cpp https://github.com/alex-Arc/Ethernet/tree/Alternet_SPI_pin
  13. A

    Teensy 3.2 octows2811

    all the info you need about Octo is here https://www.pjrc.com/store/octo28_adaptor.html and her https://www.pjrc.com/teensy/td_libs_OctoWS2811.html it looks like vixen can output using USB so check out the octo VideoDisplay example or it can output artnet, there are a couple of artnet to octo...
  14. A

    BlackLed problems with ws2812

    https://github.com/vertigo-dk/BlackLED BlackLED is an artnet and octows2811 combination, not a replacement and it is mostly for my own use. if you want to use Madrix try the develop branch https://github.com/vertigo-dk/BlackLED/tree/develop there is a Madrix implementation there but it is not...
  15. A

    OctoSK6812+Artnet+ 280ledsSK6812 x4: Blackled from Alex-Arc

    hey Lagelat. you can change the channel order here: const int LEDconfig = WS2811_RGBW | WS2811_800kHz; these 4 are implemented WS2811_RGBW WS2811_RBGW WS2811_GRBW WS2811_GBRW you could also swap them your self here: //write the dmx data to the Octo frame buffer uint32_t* dmxData =...
  16. A

    Upload firmware via CANbus

    i have gotten firmware updating to work on t_3.1 t_3.5 and t_3.6 but only with very limited testing, and very few instructions, but you are welcome to have a look https://github.com/alex-Arc/FirmwareFlasher/tree/flash_from_udp and the thread about it...
  17. A

    Ethernet on T3.6 SPI1 with FIFO

    for those interested, i have made a table with my test results, from my quick test setup https://github.com/alex-Arc/Ethernet_speed_test
  18. A

    Ethernet on T3.6 SPI1 with FIFO

    Thanks KurtE. after fixing the stuff in Ethernet and Socket i still cant get it to work. SPIFIFO1 is mostly a clone of SPIFIFO (i was hoping for a quick fix) and looking at it, it looks like i will have to do with out FIFO or free up alternate pins for SPI0 or i wont make it to my deadline
  19. A

    Ethernet on T3.6 SPI1 with FIFO

    Soooo..... :rolleyes: Ethernet.cpp and socket.cpp uses SPI directly to. i fogot to change them to SPI1 *sigh*
  20. A

    Ethernet on T3.6 SPI1 with FIFO

    yes that is some of it while (((KINETISK_SPI1.SR) & (15 << 12)) > (3 << 12)) ; // wait if FIFO full should be while (((KINETISK_SPI1.SR) & (15 << 12)) > ((1-1) << 12)) ; // wait if FIFO full thanks to KurtE...
  21. A

    Ethernet on T3.6 SPI1 with FIFO

    i am trying to use a Wiz850io with the T3.6 but on SPI1 i think i have changed all the things that need changing but it gets stuck in the right in the beginning when tying to read the chip type. it seems to be this while loop in the SPIFIFO that never reaches completion :confused: line 382 in...
  22. A

    Over the air updates

    i currently don't have the time to continue, but i'm planing to in the future. i only tested with the 3.5 and it seemed to work fine, but i haven't tested it fully. therefor the line "This code is not ready for use" because it should only be used for testing
  23. A

    Over the air updates

    good call. it's done :)
  24. A

    Over the air updates

    i also found that the .5 and .6 dons't have at flash command (0x06) for writhing a 4 byte word. instead they have a command (0x07) for writing 8 bytes. so i added this: // program long word! #if defined(__MK20DX128__) || defined(__MK20DX256__) FTFL_FCCOB0 = 0x06; // PGM #elif...
  25. A

    Over the air updates

    i found some info on the Teensy 3.5 and 3.6 and the selector looks like this now #define RESERVE_FLASH (2 * FLASH_SECTOR_SIZE) #elif defined(__MK20DX256__)//T_3.1 and T_3.2 #define FLASH_SIZE 0x40000 #define FLASH_SECTOR_SIZE 0x800 #define FLASH_ID...
  26. A

    Over the air updates

    Hey jonr :) i have taken out everything but the flasher stuff and i am considering making it into a library, would that be ok and should keep it as a fork from you or make a new repository link: https://github.com/alex-Arc/PhotosynQ-Firmware/tree/flasher_only renamed to...
  27. A

    Artnet to OctoWS2811?

    As per the Art-Net spesification art-net.pdf you can only have 4 universes for every node. if you are using multicast and only have one receiver you don't need to worry about this limit. I am currently able to output 18 universes at about 60fps, but only because i am using a modified version of...
  28. A

    k66 ethernet rx interrupt

    Thank you. i had the flag wrong rx_ring[i].moreflags.all = 0x80; should be rx_ring[i].moreflags.all = 0x8000;
  29. A

    k66 ethernet rx interrupt

    Teensy 3.6 ethernet rx interrupt Hello :) I have trouble getting the k66 ethernet rx interrupt to trigger. i am activating the interrupt and interrupt mask: ENET_EIR = ENET_EIR_RXF; ENET_EIR = ENET_EIR_RXB; ENET_EIMR = ENET_EIRM_RXF | ENET_EIRM_RXB; the ring buffer is set to allow...
  30. A

    Teensy 3.6 lan8720a ethernet

    when testing all the flags, instead of figuring out masks i found it easier to declare every bit. now when trying to implement the flags i proper code that generates annoyingly long if statements and i am now using masks. this was interesting. this code: typedef struct { uint8_t t1...
  31. A

    Docs on DMA?

    for a quick over view and use example, look at the OCTOWS2812 lib https://github.com/PaulStoffregen/OctoWS2811
  32. A

    Teensy 3.6 lan8720a ethernet

    i am working on getting to know the new lan8720a ethernet module and have been digging through Poul's example https://github.com/PaulStoffregen/k66_ethernet on page 1458 in the data sheet is a list of the different flags...
  33. A

    Control LEDs over Artnet -> Teensy 3.2 & OctoWS2811 & WIZ820io & WS2812 LED Strips

    The Ethernet Module is designed to sit on top of the Teensy and the OctoWS board below so physically they should fit. https://www.pjrc.com/store/wiz820_sd_adaptor.html the Ethernet Module uses pin: 9: RESET 10: CS 11: DOUT 12: DIN 13: SCK...
  34. A

    Teensy 3.5 (maybe 3.1) CPU, BUS and SPI speed experiments

    I am starting this thread so someone can yell at me if i do something stupid :o and share the results of my experiments, or should this be on the Beta Test thread? I started looking at the SPI library and add comments from the data sheet https://github.com/alex-Arc/SPI/blob/doc/SPI.cpp on line...
  35. A

    wiz820io max speed ?

    yes i'am really looking forward to the new k66, Paul do you have a specific ethernet shield in mind? very cool Birk :) here is a link to some rough cut video: https://dl.dropboxusercontent.com/u/39007543/anna_clip-2_1.mp4 backtracking to the original question. There looked to be a small...
  36. A

    wiz820io max speed ?

    hey birk. i'm working on this project https://github.com/vertigo-dk/BlackLED and have managed to take 18 art-net universes and out put them to a ws2811 like led using octoWS at about 44 fps. It is quite stable, we had a week long real life test...
Back
Top