Yea it’s a very good failsafe. I guess the hard part is to implement it elegantly so that it’s there but sort of in plain sight without being ugly hehe.
Thanks for the reply, the options are limited from what I understand. If there was a simple option, you would have known about it for sure. Atleast there is a way to do it with what you mentioned. Very interesting!
Hi all!
I have a program that flashes the device, but in a scenario where the usb connection is lost mid-programming, after the device has erased the flash, if you power down the unit (which happens if usb...
Indeed sounds like it’s getting full. That’s the only thing I can think of.
Feel free to send me a PM if you wanna share the code and I can take a look. I usually work with Catepilar CAN BUS. But it’s the same J1939
The filter you use only accepts one ID, I’m unsure if this library can do range. You can try to use ACCEPT_ALL just to make sure the message gets through. But what you need is a filter range.
Okay so you only need all messages with that ID? This is good, a filter should really work. Works well for me and others.
What exact messages are not getting through, can you post an example? So that we can try to...
Okay so you’re only requesting standard OBD2 PID’s and the responses you get are massive?
So this shouldn’t really happen, or should work, I’ve used a Teensy on industrial machinery CAN BUS before.
So first basic...
Okay, but why read all of it? Filter out what you don’t need. It would be much more helpful if you tell us what ID’s or what information you need from such a large network. Are you only trying to get for example, the...
Do you really need to fetch all the messages then? What specifically is it that you’re trying to get from that BUS? A good way would be to filter. Give me details and I’ll help. I got allot of experience with J1939.
A good community can achieve anything! :cool:
OFF TOPIC: Wanna do something fun? We got a custom NXP board with external PSRAM and FLASH, the idea is to make eLCD work with an RGB screen.
talk to @Rezo on here if...
That's a great idea, I will try it and see where it takes me and report back.
EDIT: It works! Thank you for such a great idea, I didn't think of that before.
I hope this thread is helpful for someone else with...
The tool is like TeensyLoader alltho it's a fully custom tool that looks very nice for the user. Build on libTeensySharp.
Apparently libTeensySharp "saves" the serial number of the device and expects the same serial...
Thanks for taking the time, I appreciate that!
The tool I use needs the halfkay to present the same serial number or else it wont work. So I think the only solution in my case is to skip the custom serial numbers and...
This example you linked is exactly what I need, thank you for that!
If Paul doesn't come in and save the day with his magic, then I will for sure use that link!
Let's hope he posts something, I'm stuck with this issue.
Yes that could be done, I just haven't found a good way of reliably make it work. But I'm also very much a noob when it comes to .exe programs, this is my first...
Thank you Luni for replying. Makes total sense, and I suspected something with the serial number.
I need to have my own serial numbers because of revisions in the code. Different functions and such. I've considered...
I should have been clearer above, sorry about that.
The serial number cannot be fixed, it's read from the EEPROM so it's different on all devices.
Wonder why the tool doesn't detect it after reboot. Perhaps some...
I'm trying to have a custom serial number presented over the USB protocol. It works but there is a small issue.
EDIT: Serial numbers are unique and read from the EEPROM at boot.
I use this in setup of my code, so...
So I tried to use SCB_AIRCR = 0x05FA0004; but the Teensy wont start with that in my code.
The way I had it before worked fine, except the flashtool I use that Luni made, needs the USB to unplug and plug back in to work...