Coder Social home page Coder Social logo

gbert / misc Goto Github PK

View Code? Open in Web Editor NEW
93.0 93.0 34.0 442.82 MB

miscellaneous stuff / unsorted

C 67.93% C++ 7.33% Makefile 1.66% Shell 0.41% Assembly 19.76% Batchfile 0.05% HTML 0.35% Perl 0.04% AMPL 1.62% CMake 0.07% AGS Script 0.06% Roff 0.19% PHP 0.01% Rich Text Format 0.20% OpenSCAD 0.01% Vim Script 0.26% Python 0.07%

misc's People

Contributors

deltaphi avatar gbert avatar mcr42 avatar shomagan avatar udorat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

misc's Issues

BOM for SRSE2 v1.5

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!

18F24K50 tiny typo

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.

Pic16F1703 verification error.

On verification after writing hex file got message "Programming failed at Program Memory address 0x000000". Another programmator doing well.

pickle: stops execution if piped

Issue

When redirecting pickle's output, it stops execution before finishing.

Example

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.
defect

When running pickle on its own, the last signal is clear:
clear

Any workarounds are appreciated :)

Doesn't work en RaspberryPi 3

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 :

  • Raspberry PI 3 Model B Rev 1.2
  • can module PICAN FD skpang Rev B 10/17

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.