Skip to content

macronix/Lane-detection-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This demo uses the NXP S32V234-EVB board, which is based on the 64-bit Arm® Cortex®-A53 S32V processors, as shown in Figure-13. When a video of a car driving on the highway is played in front of the camera, the processor will detect the lane lines in the video and provide lane departure warning information. The parsed video and detailed information will be sent to the webserver, and users can view the real-time lane departure situation on the webpage.

Demo

Storage Briefing

  • As Figure-11 shown, this demo stores the boot image including U-boot, Linux-kenel, dtb and file system in a sigle high density NOR Flash.
  • storage-brief

Hardware requirements

  • NXP S32V234 EVB mounted with high density NOR Flash
  • 13.3 inch 1080P LCD * 2
  • Camera module (SONY IMX224)
  • Raspberry Pi

Prepare the Demo

Figure 2-2 shows the Connects used on the development board. The system should be connected before starting.

  1. Plug the power cord to boot whole system
    1. When the power button is pressed, the development board, Raspberry Pi and LCD display will all be powered on.
  2. Set Jumper to select QSPI as boot device
    1. J48 (2-3)
  3. Switch settings (The rest of the switches is OFF)
    1. SW5:8
    2. SW6:2, 6
    3. SW7:2, 6
  4. development-board

Running the demo

  1. Switch the jumper cap and DIP switch to flash device startup

  2. After the power is turned off, connect the Sony camera to the development board and a 1080p screen.

  3. Start uboot from flash and stop in the uboot command line window

  4. Use the following command to read the Linux kernel and dtb files in the flash and set the rootfs location

  5. flsetup;flread 0x20100000 0x80080000 0x900000;flread 0x20b00000 0x83e00000 0x40000;
    
    setenv bootargs console=${console} earlyprintk panic=5 rootwait mtdparts=qspi0.0:512k(u-boot)ro,256k(env)ro,10M(kernel)ro,256k(dtb)ro,-(rootfs) root=31:4 rw rootfstype=ext3;
    
    fl_exit_opi;${boot_mtd} ${loadaddr} - ${fdt_addr};
  6. Wait for the development board to start up.

  7. Configure the development board IP

  8. ifconfig eth0 192.168.174.100 netmask 255.255.255.0
  9. Run the routine named apex_isp_cv.elf under /vsdk/demos

  10. ./apex_isp_cv.elf 0.0.0.0 7777

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published