Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • microderm's Avatar
    09-07-2019, 06:47 AM
    For the record, on the Mac, the platform.txt file is the one that lives at: Arduino.app/Contents/Java/hardware/teensy/avr/platform.txt
    31 replies | 7754 view(s)
  • microderm's Avatar
    09-07-2019, 02:03 AM
    The working T4 also had a mishap. I soldered a thicker wire to it, but managed to rip the pad off when I tried to bend the wire to place. It my second more careful attempt that won't actually boot. See attached: ...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-07-2019, 01:48 AM
    Yes, soldered the underside carefully and attached a pin extension to connect the wires, so that I could use it on a breadboard directly. The work looked good so I expected it to work.
    34 replies | 599 view(s)
  • microderm's Avatar
    09-07-2019, 12:48 AM
    My tests involved using the following settings in defs.h:-DSERIAL1_RX_BUFFER_SIZE=345 -DSERIAL1_TX_BUFFER_SIZE=123 -DF_CPU=144000000 The test code was simply:void setup() { Serial.begin(115200); elapsedMillis...
    31 replies | 7754 view(s)
  • microderm's Avatar
    09-06-2019, 04:28 AM
    Success with a T4 on Mac, although just a simple test similar to yours. I'm having trouble with one T4 though. I can't get it into program mode. I'll have to examine my pin soldering tomorrow, in daylight to see if I...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-06-2019, 12:31 AM
    ok, I'm going to test on T4 next to further verify the success of the technique. I'll want to enable an extra SPI slot first, so may take a moment or two extra time.
    34 replies | 599 view(s)
  • microderm's Avatar
    09-06-2019, 12:03 AM
    Just to clarify, I tested it on Mac. This is for version 1.8.9 of the IDE. Not yet tested on T4. Just starting to solder pins and SPI2 for underside of T4 board.
    31 replies | 7754 view(s)
  • microderm's Avatar
    09-05-2019, 11:55 PM
    Yes, probably wise. Maybe mention to FrankB that I tested it on Mac. Looked like he had no verification of operational success on Mac platform in the past.
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 11:01 PM
    Just tried your version of platform.txt. Works perfectly! The Teensy Ports Discovery no longer a problem. I changed only one thing, the version number at the top of the script. After all it's supposed to represent the...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 10:52 PM
    Ah, so I'd need a -UMY_DEFINE_VALUE statement if MY_DEFINE_VALUE were defined like this in the core?:#define MY_DEFINE_VALUE 123
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 10:23 PM
    @defragster, are you adding the line:#define catfood 1to your defs.h file? If so, that'll be the reason. It isn't really a header file. That's why FrankB wanted to change the file extension, as it is misleading....
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 09:41 PM
    This is working for me:
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 09:31 PM
    Yours was similar to mine. I didn't have the following in: ## Teensy Ports Discovery (Arduino 1.8.9 with pathPrefs patch) discovery.teensy.pattern="{runtime.hardware.path}/../tools/teensy_ports" -J2 It doesn't work...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 08:49 PM
    Yes, I'm on 1.8.9. I didn't understand the comments about TYQT mentioned in the other thread. I'm just going through platform.txt to note the differences to create a 1.8.9 version, now. I presume it should say:...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 08:28 PM
    With a little fiddling, I got it to override the CPU speed. I'll investigate further before requesting help...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 08:15 PM
    Thanks @defragster, I have looked at that thread and tested on my machine. Couldn't get anything to work. I'll reply to that thread for help getting it to work...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-05-2019, 03:11 AM
    I misunderstood how the preprocessor worked. I have since managed to concatenate project path and folder name to make a valid token that can be used to conditionally include a header of fixed name within my project...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-03-2019, 04:42 PM
    It seems I misunderstand how the system works. I tried the following experiment on my iMac: - modified Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy3/kinetis.h by adding the line: #include "Overrides.h"....
    34 replies | 599 view(s)
  • microderm's Avatar
    09-02-2019, 08:36 PM
    Thanks @KurtE. Sounds interesting I'll take a look at this. If the platform.txt file read is a file that lives in your current project folder (and ignores all other copies that may or may not exist in other folders)...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-02-2019, 08:35 PM
    I can redefine SERIAL1_RX_BUFFER_SIZE, but the original values have already been used to set the buffer size. It is question of race conditions - my ino code get used after the core code initialises the system.
    34 replies | 599 view(s)
  • microderm's Avatar
    09-02-2019, 06:47 PM
    I don't. At least not yet. I think the way to go with inter processor communication is to use the CAN bus. That allows you to send small packets of data between chips at high speed with error detection. Speeds of up...
    19 replies | 427 view(s)
  • microderm's Avatar
    09-01-2019, 11:13 PM
    Is there a simple way to override a #define such as SERIAL1_RX_BUFFER_SIZE found in serial1.c, from a project level rather than within the core files? It just feels wrong to edit core files when I only want the change...
    34 replies | 599 view(s)
  • microderm's Avatar
    09-01-2019, 09:16 PM
    Sounds interesting. I think it all comes down to the numbers you are getting and the numbers you need. If the problem is that writing to the display takes too long, then you might be able to partition that process. ...
    19 replies | 427 view(s)
No More Results
About microderm

Basic Information

About microderm
Location:
London
Interests:
Sports computing
Occupation:
Programmer

Statistics


Total Posts
Total Posts
55
Posts Per Day
0.14
Last Post
HOWTO: Store Projects settings (like F_CPU, USB, Keyboard-layout) 09-07-2019 06:47 AM
General Information
Last Activity
09-07-2019 07:11 AM
Join Date
10-03-2018