Commit Graph

141 Commits

Author SHA1 Message Date
Jessy Diamond Exum
87dcf5599c Another checkpoint on kernel 2017-06-21 20:17:55 -07:00
Jessy Diamond Exum
dd636d5b2e checkpoint: About to change a lot in kernel driver. 2017-06-21 19:53:20 -07:00
Jessy Diamond Exum
ce819333dc Kernel Driver Send and Receive works with throttling. Only on one can bus. 2017-06-21 18:51:05 -07:00
Jessy Diamond Exum
9b29836afb Cleaned up log messages in kernel driver. 2017-06-21 17:22:15 -07:00
Jessy Diamond Exum
3491828339 Kernel Driver: Sending on socket works. Not throttled yet. 2017-06-21 16:55:02 -07:00
Jessy Diamond Exum
7c11a5ed1c Panda kernel driver Recv works, all data to same can interface. 2017-06-21 15:23:37 -07:00
Jessy Diamond Exum
62ea1354b0 Kernel Driver alt interface configuration for operation with new firmware. 2017-06-21 12:04:11 -07:00
Jessy Diamond Exum
8bf74c67be CAN network interface can be raised. Data can be sent to driver over socket. 2017-06-21 11:50:51 -07:00
Jessy Diamond Exum
a1e816f206 CAN data read back from Panda through interrupt endpoint in kernel driver. 2017-06-21 11:50:51 -07:00
Jessy Diamond Exum
d1bbc9df84 Bulk write URB working. Tested with a timer. 2017-06-21 11:50:51 -07:00
Jessy Diamond Exum
8c1e5b55f9 Moved from manually allocated private data to alloc_candev. 2017-06-21 11:50:51 -07:00
Jessy Diamond Exum
ddc63ba24c Panda Kernel Driver base in place. Detects device plug and remove. 2017-06-21 11:50:51 -07:00
George Hotz
47a1329e9e Merge pull request #13 from diamondman/usb_bulk_to_interrupt
Usb bulk to interrupt
2017-06-21 09:19:10 -07:00
Jessy Diamond Exum
7694b61617 Cleaned up stray spaces. 2017-06-20 23:54:58 -07:00
Jessy Diamond Exum
bf1b8f6191 Added define to make usb sending logic clearer. 2017-06-20 17:48:08 -07:00
Jessy Diamond Exum
c4c4dbe32d Added setInterfaceAltSetting to python library to ensure correct interface setting.
Renamed private member of panda library to reflect private status.
2017-06-20 17:40:24 -07:00
Jessy Diamond Exum
cdd1b18374 Added alt interface setting to panda firmware to support can read via bulk or int EP. 2017-06-20 17:33:48 -07:00
Jessy Diamond Exum
28d2f04853 Changing poll frequency to 5 frames from 10 frames on geohot's request. 2017-06-20 17:33:48 -07:00
Jessy Diamond Exum
3cdf76221d Changed USB EP 1 from bulk to interrupt and made it NAK when do data is in thering buffer. 2017-06-20 17:33:48 -07:00
George Hotz
7c8c1a64d9 bump version and push to pypi with 'python3 setup.py sdist upload' 2017-06-20 15:44:08 -07:00
George Hotz
2379351f89 fix docs 2017-06-20 15:41:22 -07:00
George Hotz
ac565fd666 update readme and setup.py 2017-06-20 15:40:34 -07:00
George Hotz
dd75b6170e Merge pull request #10 from diamondman/python_restructure
Created python package and implemented industry best practices.
2017-06-20 11:31:47 -07:00
Jessy Diamond Exum
db0954246f Changed documentation to reflect new python package name. 2017-06-20 11:30:35 -07:00
Jessy Diamond Exum
dfb69b9e62 Changed python project name and allowed a hack for openpilot to import without installing. 2017-06-20 11:27:45 -07:00
Jessy Diamond Exum
c37f87818f Reformatted usb descriptor table for understandability. Removed trailing whitespace in usb.h 2017-06-19 20:46:34 -07:00
Jessy Diamond Exum
bbe0d2217f More consistent make rule for c files in 'board'. 2017-06-19 20:46:07 -07:00
Jessy Diamond Exum
6a25791fea Created python package and implemented industry best practices.
Supports python 2 and 3 (to the best of my testing ability at the time)
2017-06-14 12:00:04 -07:00
Jessy Diamond Exum
0e46ca4a5d Removed remaining inline definitions and split early.h into a header and a c file. 2017-06-14 09:26:04 -07:00
Jessy Diamond Exum
923dc197f0 Initial cleanup for inline issue. 2017-06-14 09:26:04 -07:00
Ted Slesinski
7164a730d8 Add steering safety check for cr-v 2017-06-14 09:25:00 -07:00
George Hotz
f97b5d8b4a Merge pull request #5 from diamondman/downloadmode_cleanup
Clean up download mode script and add dependency to installer.
2017-06-09 23:15:05 -07:00
Jessy Diamond Exum
f39aaec298 Added dependencies to get_sdk.sh. Cleaned up code in enter_download_mode.py and made compatible with py2 and py3. 2017-06-09 16:48:15 -07:00
Firmware Batman
2fd475d365 support GMLAN multiplexing with CAN3 on rev c panda 2017-06-09 14:11:37 -07:00
George Hotz
cf865bd975 move silent mode code 2017-05-30 09:46:21 -07:00
Firmware Batman
0cef163145 okay that speed was too fast 2017-05-29 23:07:22 -07:00
Firmware Batman
1b81a2e600 flash esp fast like a nascar 2017-05-29 23:03:11 -07:00
Firmware Batman
6a6b69ea78 setting controls allowed disables silent mode 2017-05-29 21:33:05 -07:00
George Hotz
f1454bb520 update TODO 2017-05-29 11:38:49 -07:00
George Hotz
17a6c28636 add can printer to panda tests 2017-05-27 12:31:29 -07:00
George Hotz
b7b2b97783 CAN forwarding. logically works, but it's too slow to keep up...we need to hire a firmware engineer 2017-05-26 21:38:57 -07:00
George Hotz
6c9c97a4f9 fix issue with ford instrument cluster, default can to silent mode 2017-05-26 11:20:52 -07:00
Firmware Batman
f90b6bb6e4 typo in comment 2017-05-26 11:08:52 -07:00
George Hotz
7b0ebd46da not C4, is B4 2017-05-22 10:41:38 -07:00
Firmware Batman
0205f8de22 oops, forgot a file 2017-05-18 14:18:45 -07:00
Firmware Batman
625b34cba7 add 5s udp timeout 2017-05-17 18:35:26 -07:00
Firmware Batman
4175227663 gpio refactor continues 2017-05-17 11:22:48 -07:00
Firmware Batman
c35720fe82 okay fine big gpio refactor, untested on legacy 2017-05-17 11:12:59 -07:00
Firmware Batman
b7bcc2d200 minor refactor of led code 2017-05-17 10:32:38 -07:00
Firmware Batman
5409c51041 just revc things 2017-05-16 22:15:52 -07:00