Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
rspelta authored and rspelta committed Mar 11, 2015
1 parent 0a0eb42 commit dd8138b
Show file tree
Hide file tree
Showing 29 changed files with 79 additions and 3 deletions.
Empty file modified make.bat
100644 → 100755
Empty file.
Binary file added source/_static/patch/Docustore.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/a70cm.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/a70cm_dos_patch.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/a70cm_final.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/a70cm_folder.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/a70cm_prj.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/board_dep.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/board_dep_dos_patch.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/board_dep_final.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/board_dep_folder.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/board_dep_prj.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/library.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/library_final.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/log.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/prj_ready.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/project.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/project_lib.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/refresh.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/workspace.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/patch/workspace_lib.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/_static/qs/build_sa.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/qs/debug1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/qs/debug2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/qs/import_emwin.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Contents:
:maxdepth: 2

qs
patch
PrjFiles
using
flow
Expand Down
63 changes: 63 additions & 0 deletions source/patch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.. index:: patch

.. _patch:

Patching NXP A70CM libraries
----------------------------

This chapter will show how to import and patch original NXP library for Babylon project

Babylon project comes with folders **a70cm** and **board_dep** containig only patch files required for patching original NXP libraries.
(see image below)

.. image:: _static/patch/project.jpg


Import library
**************

Before compile Babylon application firmware, you must download NXP A70cm example library.
To do this, make a registration at link https://www.docstore.nxp.com
When you receive authorization from NXP, you can download the A70cm example library as figure below

.. image:: _static/patch/Docustore.png

Reneame the downloaded file "243525_A70CM_Toolkit_sw.nxpzip" into **"243525_A70CM_Toolkit_sw.zip"**

.. image:: _static/patch/library.jpg

unzip the file **"243525_A70CM_Toolkit_sw.zip"** just renamed; your NXP library folder content should be as figure below:

.. image:: _static/patch/library_final.jpg

see at file **"243525_A70CM_ToolKit.zip"**; unzip this file into project folder "**<workspace>\\lwip_tcpecho_freertos\\Babylon\\patch**" located inside your workspace

.. image:: _static/patch/workspace_lib.jpg

double click on file "**patch_a70.bat**" (green circled)

and follow screen instructions.

When batch process ends, open LPCXpresso, right click on "lwip_tcpecho_freertos" and select "Refresh" (sse image below)

.. image:: _static/patch/refresh.jpg

Now you can see the needed library files patched

.. image:: _static/patch/prj_ready.jpg

Follow :ref:`runp` to compile and run babylon project

.. note ::
you can find the result of batch process inside file "**a70_patch_log.txt**"
.. image:: _static/patch/log.jpg
16 changes: 14 additions & 2 deletions source/qs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Import the **babylon_1_0.zip** into the workspace

.. image:: _static/qs/import.jpg

Import project C:\\NXP\\LPCOpen_platform_v0.51\\software\\emWin

.. image:: _static/qs/import_emwin.jpg

The project is loaded into the workspace

.. image:: _static/qs/prj.jpg
Expand Down Expand Up @@ -128,22 +132,30 @@ select as active the “Silica_SerizII_spifi”

.. image:: _static/qs/lwip_conf.jpg


.. important ::
| **BEFORE COMPILING BABYLON PROJECT, YOU MUST DOWNLOAD A70CM NXP EXAMPLE LIBRARY AND APPLY PATCHES**
| **CLOSE LPCXpresso IDE AND FOLLOW** :ref:`patch` **BEFORE PROCEED**
.. _runp:

Compile and load firmware
^^^^^^^^^^^^^^^^^^^^^^^^^

Select the **lwip_tcpecho_freertos** project, select “debug”.

The compiler will warn there are no bin files, simple press OK, until the window “Select debug configuration for lwip_tcpecho_freertos” is shown.

.. image:: _static/qs/debug_set.jpg
.. image:: _static/qs/debug1.jpg

Setting OK, the compilation will start (take few minutes to compile).

.. image:: _static/qs/build_sa.jpg

End of compilation, select the JTAG port to use

.. image:: _static/qs/jtag.jpg
.. image:: _static/qs/debug2.jpg

The executable is downloaded into flash

Expand Down
2 changes: 1 addition & 1 deletion source/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Before use the application firmware, you must connect SerizII with its own Babyl
When connected, you have 2 serial ports.

- one VCOMM port (need FTDI drivers) using FDTI.
- one VCOMM port (need a CDC driver) being implemented on the USB of the LPC435X on SerizII Server
- one VCOMM port (need a CDC driver - Babylon_1_0.zip file include driver folder named "USB CDC binaries") being implemented on the USB of the LPC435X on SerizII Server

.. image:: _static/device.jpg

Expand Down

0 comments on commit dd8138b

Please sign in to comment.