Development environment setup and development process

Publish in 2022-04-18 18: 44: 47

W806 It's the Union Sheng Decky and Pingtou brother XT Nuclear rollout security IoT MCU The chip is based on the Chinese Flathead "Dark steel" Core development, Chip integration 32 position CPU processor, built-in UART, GPIO, SPI, SDIO, I2C, I2S, PSRAM, 7816, ADC, LCD, Touch Sensor Isodigital interface; support TEE Safety engine, Supports a variety of hardware encryption and decryption algorithms, built-in DSP, Floating-point arithmetic units and security engines, Support for code security permission Settings, built-in 1MB Flash memorizer, Supports firmware encrypted storage, Firmware signature, Safety debugging, Security upgrades and other security measures, Ensure product safety features. Reach up to 240Mhz This is also particularly exciting. These features and performance will be in smart electronics, Smart home, Intelligent toy, Provide strong support in industrial iot scenarios.

Soon we'll have the board on day three.  The board is beautifully made,  1 Millimeter thick board,  Smooth board edges,  Bright purple and gold-plated holes reveal premium quality,  At the same time receive after-sales support to add friends,  Under the guidance of after-sales support,  I joined the official development group of Lianshengde,  It's on W806 Development and test work.  The group has circuit data for the development board,  Development manual,  SDK Instructions,  Interface light,  Very rich.  And a bunch of big guys.  

  W806 It was developed using Flathead's CDK Development tool,  support windows,  linux Under the development environment.  Install separately according to the development instructions CDK exploit IDE,  Upgrade_Tools Download tool,  And one USB The drive of.  The entire development environment is installed in three steps,  No configuration or setup or anything.  

CDK Integrated development environment

  Liansheng open source this board all source and port on the open source RTOS Operating system,  And routines are prepared for all devices,  This makes it easy to get started quickly.  The first time to open the project to find the project files took a lot of time,  Finally find the engineering files in \WM_SDK_W806 \tools\W806\projects\SDK_Project\project\CDK_WS\W806_SDK Under the,  I wonder why it's so deep.  

     According to the hardware development convention of the first hardware "Hello, World" Just testing the three on the light board LED The lamp,  Also learn the development board GPIO Operation method,  the demo Under the directory gpio routine,  Add to app Under the directory,  Ask if it is when you join copy File time,  Select no.  Then compile directly,  about 4~5 Second compile complete.  


GPIO Operational lighting LED The code of

   After compilation,  Go to the project root directory bin subdirectory fls File approval Upgrade_Tools Download it to the board.  When downloading a method,  Download time Upgrade_Tools After the download button of the software,  Click on the board again reset key,  Just start downloading.  After download,  Click again reset Key to start running.  


Upgrade_Tools Download fls File onto the board

Run lit LED The lamp

    It can be seen CDK The development of C Language,  Function operations follow STM32 Very similar,  Have faith in STM32 The development partner will pick up quickly.  

  Sum up,  First time to learn W806 Development board,  It's pretty easy and smooth.  Have said before windwos Under the slow compilation problem,  Also wondering whether to create linux Development environment,  After the actual test,  windows Select fully compile once project functionality is also available 4~5 seconds,  Of course,  with the subsequent increase in the content of the project,  It will definitely take longer to compile,  But compared to the time it takes to develop and write code,  This is basically negligible,  Recommended windows Under development fully meet the needs,  Moreover,  consider adding other debugger installation drivers in the future,  Also recommend windwos Can be developed under.  

  The whole development process is just as advertised 1520 Development efficiency,  1 Days master the development environment,  5 Days to establish product prototype development,  20 Days to complete the preliminary product development.  W806 The development is still relatively easy.  

 Also talk about the problems found in the process,  I hope the authorities can improve it in the future:  CDK The development interface is not in Chinese,  Although consider the use of international friends,  After all,  take care of your family first,  The Chinese space station is all in Chinese,  We should prefer to use Chinese.  The development of the tutorial online is relatively few,  This is also related to the new development board,  I expect more and more in the future.  There's a lot of confusion in the development materials W800 Series of data and W806 Put together,  Even though it's the same nucleus,  But it also creates additional confusion for developers.  

personal windwos Environment for developer reference:

hardware: CPU Intel (R) Core (TM) i7-4770HQ CPU @ 2. 20GHz 2. 20 GHz

Internal memory: 16G

Hard disk: 1T

Operating system: Win10, Virtual Studio 2019

0 Pieces of review

publish
problem