gbert / misc Goto Github PK
View Code? Open in Web Editor NEWmiscellaneous stuff / unsorted
miscellaneous stuff / unsorted
When redirecting pickle's output, it stops execution before finishing.
When calling p24 select dsPIC33EP256MC206 lvp flash 128
everything works as expected.
When calling p24 select dsPIC33EP256MC206 lvp flash 128 > output.txt
, the last reset sequence gets cut to a point the controller does not recover from the read status and will not start afterwards.
This also happens when calling c=$(p24…)
or p24 … | grep 000000
Connecting to an oscilloscope shows three reset signals.
While the first two (in my setup) are pulled down to 0.7V, the last one only gets to 2V, the other two signals also abort early and default to high.
When running pickle on its own, the last signal is clear:
Any workarounds are appreciated :)
On verification after writing hex file got message "Programming failed at Program Memory address 0x000000". Another programmator doing well.
Hi,
I installed this driver on my raspberry pi 3, the installation is ok.
But after a few moment of using it, everything freeze and the CPU goes to 100 % and I ve got an high temperatur on the PCB !
See below for the entire description of my problem
Thanks.
=============================================================
Configuration :
Connected to my laptop with USB PEAK PCAN FD and I check the traffic with PCan-View
This is the EOF of config.txt :
dtparam=spi=on
core_freq=250
kernel=ms7/zImage
device_tree=ms7/bcm2710-rpi-3-b.dtb
overlay_prefix=ms7/overlays/
dtoverlay=mcp2517fd-can0
dtparam=interrupt=25
dtparam=oscillator=40000000
dtparam=spimaxfrequency=20000000
First I start up the can0 with :
sudo ip link set can0 up type can bitrate 250000 dbitrate 2000000 fd on sample-point .8 dsample-point .8
In another consol, I check the can traffic with :
candump can0
All traffic from my laptop to the raspberry works fine ( normal CAN, CAN FD, CAN FD BRS) :
pi@raspberrypi:~ $ candump can0
can0 007DFEAC [8] 01 02 03 04 05 06 07 08
can0 007DFEAC [8] 01 02 03 04 05 06 07 08
can0 007DFEAC [08] 08 06 04 02 07 05 03 01
can0 007DFEAC [08] 08 06 04 02 07 05 03 01
can0 007DFEAC [08] 09 09 09 09 05 05 05 05
can0 007DFEAC [08] 09 09 09 09 05 05 05 05
But when I want to send from the raspberry to my laptop, everything works fine with normal CAN and CAN FD, but If I send a message in CAN FD with Bite Rate Switch, every things goes wrong.
There are the commands I use :
normal CAN : cansend can0 7DF#0301050000000000
CAN FD : cansend can0 7DF##05555555555555555
For now , everything is OK
CAN FD BRS : cansend can0 7DF##15555555555555555
And now, this is what I have in the candump :
can0 00C [8] 00 00 00 00 08 00 00 00
can0 00C [8] 00 00 00 00 08 00 00 00
can0 08C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 00C [8] 00 00 00 00 20 00 00 00
can0 0C8 [8] 00 00 00 00 00 00 00 00
I have to set down the can0 to stop it.
After I start it up again, and here, after a few command of normal CAN or CAN FD (about 3 or 4), the raspberry freeze and nothing is possible, I can't set down the can0, I even can't shutdown the raspberry. The CPU goes to 100 %, the temperature increase, I have no choice to disconnect the power of the raspberry.
Change the following
Device ID: 0x5c60 (was 0x5c30)
Program mem write script: 104 (was 298)
Program mem write words: 32 (was 64)
I don't know if these settings are optimal but they work.
Hi, can you elaborate why USB and CAN cannot be used simultaneously? I can certainly configure it this way in STM32CubeIDE/CubeMX. So pin-wise, there is no limitation. Please elaborate.
Hi!
I’m trying to find the bill of materials for the SRSE2 pcb version 1.5.
Is there a way I can find it?
Thank you!
Does the driver work on the new Raspberry Pi 3B+ ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.