kali linux tool list
http://tools.kali.org/tools-listing
HELLO
2013年3月5日 星期二
nand flash writer
http://www.modchipcentral.com/store/product.php?productid=17897
之前看到有一個JTAG debug 方式可以直接讀寫nand flash
TDI (Test Data In)
TDO (Test Data Out)
TCK (Test Clock)
TMS (Test Mode Select)
TRST (Test Reset) optional.
我有一塊arduino板子 當然就查查看能不能用
之前看到有一個JTAG debug 方式可以直接讀寫nand flash
TDI (Test Data In)
TDO (Test Data Out)
TCK (Test Clock)
TMS (Test Mode Select)
TRST (Test Reset) optional.
我有一塊arduino板子 當然就查查看能不能用
Is it possible to make a JTAG interface with an arduino
Yes, it is possible to turn an Arduino into an ARM JTAG adapter.
There are three problems, voltage, speed and drivers.
The Arduino natively runs at 5V. Most ARM microcontrollers are not 5V tolerant on their JTAG pins and
require 3.3V. The easiest solution is to run your Arduino at 3.3V, failing that you will need some sort of
level conversion (see I2C 3.3 to 5.0 V conversion for ideas).
require 3.3V. The easiest solution is to run your Arduino at 3.3V, failing that you will need some sort of
level conversion (see I2C 3.3 to 5.0 V conversion for ideas).
The Arduino is connected to a PC via a serial link. I doubt it can feasibly go faster than 115200bps,
which will make interactive activities likestepping through code in a debugger very slow. But, you'll be
able to upload code and reflash devices.JTAG is a high level protocol, specific to each processor family,
which uses a SPI like interface to exchange data. Most JTAG dongles just
which will make interactive activities likestepping through code in a debugger very slow. But, you'll be
able to upload code and reflash devices.JTAG is a high level protocol, specific to each processor family,
which uses a SPI like interface to exchange data. Most JTAG dongles just
provide a SPI interface over USB then leave the rest of the work to a PC application. OpenOCD and
URJTag are popular choices. You will need a driver in one of these for your Arduino JTAG protocol.
URJTag are popular choices. You will need a driver in one of these for your Arduino JTAG protocol.
The Bus Pirate is very similar to the Arduino (low speed microcontroller + FTDI chip). It supports JTAG
with OpenOCD, so it's certainly possible.
If you use a Teensy/Opendous or other AVR-USB board, you could use eStick-JTAG.But, for lost cost
JTAG, I'd recommend one of the FTDI2232 based dongles. They're cheap and well supported by OpenOCD.
with OpenOCD, so it's certainly possible.
If you use a Teensy/Opendous or other AVR-USB board, you could use eStick-JTAG.But, for lost cost
JTAG, I'd recommend one of the FTDI2232 based dongles. They're cheap and well supported by OpenOCD.
2013年1月10日 星期四
vim hex mode
Using vi as a hex editor
:%!xxd
to switch into hex mode:%!xxd -r
to exit from hex mode.Okay, so this isn’t actaully switching to vi’s ‘hex mode’; vi doesn’t have one. What the above actually does is to stream vi’s buffer through the external program ‘xxd’.
2013年1月3日 星期四
Ubuntu 安裝linux nivida driver
Ubuntu 12.10 先按alt+ctrl+F1 跳到tty1
然後關閉xwindows
service --status-all
service lightdm stop
sh 安裝檔...
2012年11月8日 星期四
Arduino序列埠serial port hello world
////在arduino寫入持續送hello world
void setup()
{Serial.begin(9600); // set up Serial library at 9600 bps}
void loop()
{ delay(9000);
Serial.println("Hello world!"); // prints hello with ending line break
}
然後使用screen在ubuntu接收
screen /dev/ttyACM0
//我的usb接上去代號是ttyACM0
就可以看到螢幕上一直跳hello world
離開screen 可以按ctrl a c
2012年7月9日 星期一
2012年3月16日 星期五
<轉>設定命令參數列argc argv
C/C++ 標準之 main 寫法有二種,一種是不接受任何參數列;另一種是接受二個參數列。程式碼大致如下
(1) int argc, char **argv 為何?
(2) 如何使用 argc, argv 測試程式?
(3) 在開發過程中,如何使用 VC 設定預設之 argv?
(4) 如何利用 VC 進行有效率之 argc, argv 測試?
int main(int argc, char **argv) { return 0; } int main(void) { return 0; }第二種於程式中較為常見,本文針對第一種 main 型態,說明主要有四點:
(1) int argc, char **argv 為何?
(2) 如何使用 argc, argv 測試程式?
(3) 在開發過程中,如何使用 VC 設定預設之 argv?
(4) 如何利用 VC 進行有效率之 argc, argv 測試?
訂閱:
文章 (Atom)