These commands will create pseudo-ttys and start the debug agent. # qconn is what the QNX IDE needs to attach to this system. # first device create by devc-pty is /dev/ptyp0. # - the commands shown require that NETWORK is enabled # for more information on remote debugging ![]() # - refer to the help documentation for the gdb, qconn and the IDE This can be done by changing the bsp-mitydsp-omap-l138.bsh file in the bsp-mitydsp-omap-l138 project.Ĭhange the lines toward the end to look like this: If you want to do debugging from Momentics, you will need to start the debug agent on the target. The other lines should all be commented out. The lines for just one of the methods should be uncommented. # Must be after the SPI interfaces are set up since lsconf reads the spi-flash for the uboot parameters.įor the third method, make sure these lines are uncommented: Comment out the lines used for method 2.įor the second method, make sure these lines are uncommented: ![]() # display_msg Using hard-coded IP address: 1.2.3.4ĭisplay_msg Using hard-coded IP address: 1.2.3.4Īnd replace 1.2.3.4 with the desired IP address. The U-Boot environment is stored in the NOR flash and requires the spi driver to be loaded for SPI-1.Ĭhange the bsp-mitydsp-omap-l138.bsh file in the bsp-mitydsp-omap-l138 project to select the desired option.įor the first method, change these lines from: This method uses a utility named "lsconf" to access the U-Boot environment. The second method will use dhcp if the environment variable is not found. U-Boot > setenv qnxbootfile bsp-mitydsp-omap-l138.ifs It will probably be convenient to create the following environment variables in U-Boot. U-Boot > setenv ipaddr 192.168.0.57 (use your target address) U-Boot > setenv serverip 192.168.0.151 (use your host address) Downloading an image using U-Boot ¶Įnvironment variables should be set in U-Boot to specify the IP address for the board and the IP address for the host providing the TFTP service. The TFTP Server is configured to point to the directory where the built image is located in the bsp-mitydsp-omap-l138 project. (Window -> Show View -> QNX System Builder -> TFTP Server) You can also just open the TFTP Server view. If you are using Momentics on a PC host, you can start a tftp server by opening the QNX System Builder Perspective. Select Import from local archive file, browse to the board support package zip file and hit Finishīuild the first project to get an image suitable for downloading.File->Import->QNX->QNX Source Package and BSP and hit Next.( ) Using the Board Support Package ¶įollow these steps to use the Board Support Package in Momentics. The download files are available on the Files tab. The BSP is intended for QNX 6.5 but it should also work with QNX 6.4.1. The download consists of a zip file that can be imported into Momentics. ![]() This page the instructions for using the board support package for the MityDSP-L138 family of modules.
0 Comments
Leave a Reply. |