Yacc說明及使用文檔
yacc(Yet Another Compiler Compiler),是Unix/Linux上一個用來生成編譯器的編譯器(編譯器代碼生成器)。yacc生成的編譯器主要是用C語言寫成的語法解析器(Parser),需要與詞法解析器Lex一起使用,再把兩部份產生出來的C程序一併編譯。yacc本來只在Unix系統上才有,但現時已普遍移植往Windows及其他平臺。
首先下載軟件,解壓軟件,安裝在程序中找到SEGGER,選里面的J-FLASH,進入界面,剛開始的那個界面可以忽略,不用建project也可以;單擊菜單欄的“Options---Project settings”打開設置,進行jlink配置;正在General選項,選擇“USB”,一般都是默認配置,確認一下即可;然后在CPU選項,選擇芯片型號,先選擇“Device”才能選擇芯片型號,芯片型號,要根據你使用的芯片進行選擇;在Target interface選項 里面選擇SWD模式;首先Target里面選“Connection”連接目標芯片,然后 Target--Auto進行程序燒寫;首先Target里面選擇“Connection”連接目標芯片,然后 Target--Auto進行程序燒寫.SEGGER J-Links are the most widely used line of debug probes available today. They've proven their value for more than 10 years in embedded development. This popularity stems from the unparalleled performance, extensive feature set, large number of supported CPUs, and compatibility with all popular development environments.