页次: 1
刚刚试了一下csdn的下载,果然是用阿里云oss:
以下是原始链接:
https://dl-download.csdn.net/down11/20180910/281b1770422234908d9bbced58ae3608.pdf?response-content-disposition=attachment%3Bfilename%3D%22Debian8_X1000E.pdf%22&security-token=CAISgwJ1q6Ft5B2yfSjIr5fjE%2BLihb4VjvGOQ03rs3gYVulvjZGZ1Dz2IHxFf3FoCOEYv%2Fk1nWlU6%2FoTlqF%2FTIBDQUvNYZOmfHCyF0XzDbDasumZsJYw6vT8a1fxZjf%2F2MjNGaCbKPrWZvaqbX3diyZ32sGUXD6%2BXlujQ%2BDr6Zl8dYY4UxX6D1tBH8wEAgp5tI1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZJ%2FtuvecD%2FMJI3Z8kvC4uPsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruEnXaLKMo4wxfVIjP%2FFmRvIVtprnieY9tuiWkJ%2Fs25qImF%2BBkY61GoABjZSSnBaFysh2HJIV%2F94El6HH5hgHUomaqTLQmfUA9BrDbOrIC3yS7lZkjVEtgKZLXqgQKfw4hNZUE2lFiJESdYABl%2FPDzk%2F3tM75Nm6ISGkS3bAI2%2FnvMw5hfzsX7P073e%2FgY8TJbWBHk8l3skfggznCV2y5KDzk65NAulmnTEY%3D&OSSAccessKeyId=STS.NTVXXVha493eAkZWxMZfCbT26&Expires=1584330236&Signature=AxqHkB0Rs0DQQwRCBqERBf3elYc%3D
根据这些关键字网上搜索, 果然是阿里云的,
然后我再把这个链接粘贴到其他浏览器,
就跳到: https://public-download.csdn.net/500.html
<Error>
<Code>AccessDenied</Code>
<Message>You are denied by bucket referer policy.</Message>
<RequestId>5E6EF581AED6983436A3D8E1</RequestId>
<HostId>csdn-dl-public.oss-cn-beijing.aliyuncs.com</HostId>
<BucketName>csdn-dl-public</BucketName>
</Error>
阿里云oss没跑了。
用grabserial
刚试了一下这工具不错,
1. 装库:
D:\Python\Python37\python.exe -m pip install pyserial
2. 克隆:
git clone https://github.com/zqb-all/grabserial
3. 安装:
D:\Python\Python37\python.exe setup.py install
4. 运行:
D:\Python\Python37\python.exe grabserial
大家参考此贴操作
https://whycan.cn/t_3538.html#p33590
这个链接是不是错了呢?
随便搜了一下
https://atceiling.blogspot.com/p/blog-page.html (要科学上网)
Raspberry Pi筆記目錄
天花板隨記紀錄我生活的點點滴滴,擔心將來年紀漸長,記憶力變差時,可以緬懷一下過去的時光。
偶然間,遇到我喜愛的電子自動控制開發板,開始了學習之旅,為了累積相關知識,
我將 Raspberry Pi 樹莓派及 Arduino實做的過程及經驗紀錄下來,放在部落格上,
一來當作筆記,二來與大家分享。
為了方便快速找到 Raspberry Pi 相關的實作主題,我將所有文章目錄及連結整理好,方便快速參閱。
Raspberry Pi 筆記:開啟 I2C、SPI及Serial功能
Raspberry Pi 筆記(54):LCD1620顯示時間及溫濕度
Raspberry Pi 筆記(53):I2C連接LCD1620顯示日期時間
Raspberry Pi 筆記(52):安裝Node-RED及Dashboard儀表板
Raspberry Pi 筆記(51):解決 Raspbian buster 無線網路連線問題
Raspberry Pi 筆記(50):模擬麥金塔 II 作業系統
Raspberry Pi 筆記(49):樹莓派的儀表板 Pi-Dashboard
Raspberry Pi 筆記(48):IoT裝置間的通訊協定 MQTT
Raspberry Pi 筆記(47):樹莓派的監控系統 RPi-Monitor
Raspberry Pi 筆記(46):安裝流量圖形顯示 MRTG
Raspberry Pi 筆記(45):安裝R語言及互動介面的 Shiny Server
Raspberry Pi 筆記(44): 使用群暉Synology 雲端裝置儲存Webcam 錄影資料
Raspberry Pi 筆記(43):Pi 也能當作Airplay音效輸出,安裝 Shairport Sync
Raspberry Pi 筆記(42):iPhone 雲端列印 AirPrint
Raspberry Pi 筆記(41):安裝 Monitorix 監控工具
Raspberry Pi 筆記(40):使用觸控螢幕當作 LED 開關及控制伺服馬達
Raspberry Pi 筆記(39):使用 Docker 執行 python 的 gpio 控制 LED 燈
Raspberry Pi 筆記(38):系統語系與中文輸入法
Raspberry Pi 筆記(37):遠端桌面 VNC、Teamviewer 及RDP
Raspberry Pi 筆記(36):光照度感測模組- 模擬特雷門
Raspberry Pi 筆記(35):DS18B20 溫度紀錄- 使用 Cayenee 及 ThingSpeak
Raspberry Pi 筆記(34):ZBar 讀取二維條碼
Raspberry Pi 筆記(33):USB 音效卡如何進行錄音
Raspberry Pi 筆記(32):4路 TTP224 電容式觸控模組
Raspberry Pi 筆記(31):建立個人雲端儲存系統 (二) Owncloud
Raspberry Pi 筆記(30):建立個人雲端儲存系統 (一) Tonido
Raspberry Pi 筆記(29):MCP3008 讀取搖桿值
Raspberry Pi 筆記(28):架設無線基地台 Wireless Access Point
Raspberry Pi 筆記(27):監測 Pi & Arduino 及其感測器的雲端系統 Cayenne
Raspberry Pi 筆記(26):MPU-6050 加速度計與陀螺儀感測器
Raspberry Pi 筆記(25):RFID 無線射頻辨識控制 LED
Raspberry Pi 筆記(24):安裝微雪 Waveshare 3.5(A) LCD螢幕
Raspberry Pi 筆記(23):安裝版本管理系統 Subversion
Raspberry Pi 筆記(22):安裝Icinga監控工具及PhpMyAdmin
Raspberry Pi 筆記(21):安裝OpenCV
Raspberry Pi 筆記(20):MCP3008 讀取類比訊號測溫度與光度
Raspberry Pi 筆記(19): Webcam 拍照與瀏覽串流媒體
Raspberry Pi 筆記(18):模擬DOS環境
Raspberry Pi 筆記(17):使用MAX7219 控制 8x8 LED Matrix
Raspberry Pi 筆記(16):製作多媒體伺服機:使用 Samba 及 minidlna
Raspberry Pi 筆記(15):超音波測距離
Raspberry Pi 筆記(14):用鍵盤透過無線網路控制智能車
Raspberry Pi 筆記(13):使用藍牙USB連接GPS
Raspberry Pi 筆記(12):控制步進馬達
Raspberry Pi 筆記(11):音效設定與播放器
Raspberry Pi 筆記(10):使用PIR (Passive Infrared)偵測物體移動
Raspberry Pi 筆記(9):使用Keypad
Raspberry Pi 筆記(8):安裝Webmin、FTP、Web、Web伺服器及無線網路
Raspberry Pi 筆記(7):使用L293D驅動馬達
Raspberry Pi 筆記(6):使用WiringPi 控制GPIO
Raspberry Pi 筆記(5):2x16 LCD顯示字元
Raspberry Pi 筆記(4):WebIOPi讓瀏覽器控制樹莓派
Raspberry Pi 筆記(3):Python控制LED
Raspberry Pi 筆記(2):GPIO接腳與 I2C 及 SPI 安裝
Raspberry Pi 筆記(1):螢幕無法呈現及HDMI轉接線忽黑忽亮問題
#!/usr/bin/python3
import os
import binascii
def CRC32_from_file(filename):
f = open(filename,'rb')
buf = f.read()
crc32 = (binascii.crc32(buf) & 0xFFFFFFFF)
f.close()
return crc32
zimage = "zImage"
crc32 = CRC32_from_file(zimage)
file_dst = open("out.img", "wb")
###可执行文件的crc32校验码###
file_dst.write(crc32.to_bytes(4, 'little'))
file_dst.close();
shell 不会写, 最后用 python3 搞定了。
-连接方式选择 adb
-host上填"transport-usb" 引号不要(或者是别的连接字符串 具体查看 adb sockey interface 的文档)
-端口填 5037
配置如下:
adb版本 putty 下载地址: https://github.com/sztupy/adbputty/downloads
相关的文档不知道什么时候放出来
芯片的手册已经有了: http://dl.sipeed.com/LONGAN/Nano/DOC/
翻了一下 adb 代码,使用了 libusb,这样在应用层直接驱动了,看起来不需要添加什么协议了,刚刚试了一下f1c100s 插我的手机,居然usb出错。
[ 504.633108] usb 1-1: new high-speed USB device number 6 using musb-hdrc
[ 505.223109] usb 1-1: device not accepting address 6, error -71
[ 505.373116] usb 1-1: new high-speed USB device number 7 using musb-hdrc
[ 505.523120] usb 1-1: device descriptor read/64, error -71
[ 505.793094] usb 1-1: device descriptor read/64, error -71
[ 505.913234] usb usb1-port1: attempt power cycle
[ 506.403107] usb 1-1: new high-speed USB device number 8 using musb-hdrc
[ 506.843098] usb 1-1: device not accepting address 8, error -71
[ 506.993120] usb 1-1: new high-speed USB device number 9 using musb-hdrc
[ 507.433081] usb 1-1: device not accepting address 9, error -71
[ 507.439082] usb usb1-port1: unable to enumerate USB device
回去换条线或者换个手机试一试。
V3s 的 RTC是32k,不是32.768k,要软件转换
怎么无法编辑了。。
littlevgl 触屏适配:
https://github.com/summershrimp/opendeck-gui/commit/f4261556206038160f9b85e6c911c020eb0727ddlinux 4.14 Icenowy内核 patch:
https://github.com/summershrimp/opendeck-linux/commit/eb7a274d02b52a02198e3b2726df822eed0f36c8
太棒了, 感谢无私分享!
GigaDevice芯片的价格并不差。GD32F450 - http://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/stretch-performance-line/。
有没有人使用这些设备?速度基准?
gd 对标的就是 stm32,
与stm32 引脚兼容,
寄存器兼容,
我记得 GD32F1 系列比 STM32F1 便宜1-2元人民币.
速度应该和对标型号的STM32差不多.
https://whycan.cn/t_1003.html
这个就是 IAR f1c100s jlink调试的程序, 就是boot0吧。
看下有没有参考价值.
https://www.linux.com/news/linux-kernel-310-reached-end-life-users-are-urged-move-linux-44-lts-1
Linux内核3.10达到了生命周期,用户被迫迁移到Linux 4.4 LTS
Linux内核维护者Willy Tarreau宣布Linux 3.10内核系列已达到使用寿命,并且将不再接收修补关键安全漏洞的维护更新。
上周末发布了Linux内核3.10.108,这是Linux 3.10分支的最后一次维护更新。因此,现在要求用户和OEM升级到更新的,
长期支持的Linux内核,例如Linux 4.4 LTS系列。
2017年11月8日
怪不得 全志 f1c100s linux bsp, nuc972 linux bsp 都是基于 linux3.10.XXX
原来 linux3.10 是一个长支持(LTS)版本.
https://blog.csdn.net/lu_embedded/article/details/53061901
都是调用 /sys/class/gpio 用户层接口吧.
http://www.gnu.org/software/libc/manual/html_node/I_002fO-on-Streams.html
是指实现这些 fopen, fclose, fwrite, fread 这些接口吧?
申请一块内存,然后使用 littlefs(arm官方推荐的flash filesystem),
参考: https://whycan.cn/t_660.html
git submodule add -b dev-6.0 https://github.com/littlevgl/lvgl.git
git submodule update --init --force
$ make monitor
MONITOR
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/esp-adf/esp-idf/tools/idf_monitor.py", line 120, in _run_outer
self.run()
File "/opt/esp-adf/esp-idf/tools/idf_monitor.py", line 193, in run
if not self.serial.is_open:
AttributeError: 'Serial' object has no attribute 'is_open'Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/esp-adf/esp-idf/tools/idf_monitor.py", line 120, in _run_outer
self.run()
File "/opt/esp-adf/esp-idf/tools/idf_monitor.py", line 155, in run
c = self.console.getkey()
File "/opt/esp-adf/esp-idf/tools/idf_monitor.py", line 235, in getkey_patched
c = self.enc_stdin.read(1)
AttributeError: 'Console' object has no attribute 'enc_stdin'
顺着google进来的,感谢楼主, 感谢万能的论坛!
我来补充一下:
sudo apt-get install python-pip
sudo pip install pyserial --upgrade
两行搞定.
N76E003可运行在两种低功耗模式-空闲模式和掉电模式,可通过软件选择运行在哪种模式。
空闲模式时,芯片主时钟关闭,但部分功能模块仍然运行。
掉电模式下芯片全部时钟关闭确保芯片功耗达到最低。
在正常工作模式下,也可选择主时钟除频方式工作,确保在功耗和性能之间灵活运用。
高效能、丰富的功能模块及配置,N76E003可灵活用于各种应用场合,家电产品,
甚至是马达控制等高端需求控制系统。
掉电模式:
设置该位使MCU进入掉电模式。在此模式下,CPU和外设时钟停止,程序计数器(PC)挂起。
此时为最小功耗。CPU从掉电模式下唤醒后,该位自动由硬件清零,且在系统唤醒之前程序继续执行中断服务程序(ISR)。
从ISR返回后,设备继续执行系统进入掉电模式时所处的指令。
注如果IDL位和PD位同时置位,MCU进入掉电模式。从掉电模式退出后不会进入空闲模式。
空闲模式:
设置该位使MCU进入空闲模式。在此模式下,CPU时钟停止,且程序计数器(PC)挂起,
但是所有外设继续工作。CPU从空闲模式唤醒后,该位自动由硬件清零,且在系统唤醒之前程序继续执行中断服务程序(ISR)。
从ISR返回后,设备继续执行系统进入空闲模式时所处的指令。
真能折腾,有开源项目用 ESP32 驱动 ov7725, ov5xxx 摄像头芯片.
https://github.com/igrr/esp32-cam-demo
ESP32相机演示
此存储库中提供的代码从相机获取图像,并以ASCII艺术形式将其打印到串行端口。
页次: 1