解剖玩具麥輪車 2024-12-28 842 MX512G : 低压单通道有刷直流电机驱动器, RMB $2MX1616S : 双路有刷直流马达驱动电路, RMB $7.8TRSP5040A : SOP8語音OTP芯片40秒碩呈語音播報IC程序開發, RMB 0.27RF2520A : 无线遥控收发器芯片, RMB $4.3
Tutorial to setup RF-Nano 2024-12-18 537 https://item.taobao.com/item.htm?_u=ibuhab0bb1b&id=628418040642&spm=a1z09.2.0.0.76e02e8dYbXP6k
STM32 + DHT11 example 2024-12-18 464 https://gitlab.com/peter-example/stm32/thei-stm32-demo-stm32f411ceu6
Add -g option to riscv-tests 2024-11-17 454 To enable debug, "CFLAGS=-g ./configure" won't work, edit ./isa/Makefile and add -g to variable RISCV_GCC_OPTS then it works. The dump…
Good ELF diagram 2024-04-13 1.4K http://blog.k3170makan.com/2018/10/introduction-to-elf-format-part-vi.html
Fixed dwarf bug 2024-04-09 894 When i change kernelvec.S to -ggdb, my dwarf library broken but now fixed. Commit :e640c3d9 And I still don't understand…
Install apache and php for http research 2024-03-30 4.4K I need a super clean apache and forward all PHP requests to a independent php-cgi process which host by a…
The way to extend qemu TCG plugin functionality 2024-02-10 2K Hi, if want to to provide other function-calls to TCG plugin, such as reading guest memory, follow these steps: https://peter.quantr.hk/2024/01/qemu-risc-v-log-all-memory-operations/…
QEMU risc-v , log all memory operations 2024-01-27 1.8K Step 1: Step 2: modify tests/tcg/plugins/mem.c , add this code in vcpu_mem() Step 3: in xv6-riscv change Makefile to Then…
Qemu's trace_memory_region_ops_write 2024-01-17 1.4K I was trying to find the body of trace_memory_region_ops_write function in qemu source code, can't find it. It is generated…
RISC-V qemu doesn't log "PRIV" in every instruction 2023-12-27 2.3K RISC-V qemu seems wrong because it doesn't log "PRIV:" in every instruction in qemu.log. Even mret is execute and the… low level programming
Create a breadboard FPGA 2023-12-24 2.9K We tried to ask GOWIN to let us generate the bitstream but seems they are not willing to open their…
NOR vs NAND flash 2023-12-22 1.4K i finally found the differences between NOR and NAND flash, but just dont know what is it
Arduino Function Generator 2023-11-07 1.6K I am using Nano and AD9833 to build a simple function generator. Code in here https://gitlab.com/quantr/hardware/arduino-function-generator
Arduino + AD9833 using library by Rob Tillaart 2023-11-06 2K Buy the board here : https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6caf2e8dU9c4dS&id=590166217396&_u=6buhab0a8d9 Install the library, see below Make sure connect these pins to the board, total…
Arduino + AD9833 2023-11-06 1.6K Buy from here. I am using the example from here but ignore the switch buttons. You need to add this…
Rotate button by Arduino 2023-10-30 1.4K Refer to https://zhuanlan.zhihu.com/p/349824627 , buy from here
MCP4725 I2C DAC Breakout board 2023-10-30 1.5K Bought from here Testing maximum frequency, around 800us
GY-4725 board 2023-10-30 1.6K Bought from here. This code test maximum frequency, around 1ms period is peak Documents
計準NPN了 2023-10-27 1.9K Main point: calculate Ib, we can do it by Ib=Ic / Beta min OR Ib=(Vb - 0.7) / Rb
Funny Toy : Oscilloscope 2023-10-09 1.2K I got this electronic toy from Taobao, i want to have more experience on soldering and putting different components on…
砌機 : FPGA 2023-10-05 1.7K Lattice FPGA比STM32簡單, 我應該可以搞得掂 用户手册: https://github.com/wuxx/icesugar-nano/blob/main/README.mdwin7串口驱动: https://github.com/wuxx/icesugar-nano/blob/main/doc/usbser.inf原理图及源码: https://github.com/wuxx/icesugar-nano 主要component其實得兩個: FGPA同粒Flash FPGA
Arduino read/write AT24C256 2023-08-31 1.2K Many examples not work from google, it is because it needs a delay after write operand, so i put delay(100)
Quantr-Logic + PLD 2023-08-28 1.8K We are thinking of synthesis logic into FPGA but the task is quite complex, We found a new way to…
Support debug using vscode for xv6-riscv 2023-07-31 1.7K launch.json in ".vscode" folder tasks.json ".vscode" folder Remove "-O" in Makefile run: set some breakpoints in vscode make qemu-gdb click…
Nand / Nor 2023-07-19 1.2K i know any gate can convert to NAND or NOR, asked many time why people always use NAND instead of…