Commit Graph

542 Commits

Author SHA1 Message Date
Gregory Nutt
3e3d3dff9b SAMA5D4: Add support for UART4 2014-06-08 07:47:56 -06:00
Gregory Nutt
e91c27ca5a SAMA5D4: Update one more register definition header files 2014-06-07 14:40:49 -06:00
Gregory Nutt
bc80629149 SAMA5D4: Update some register definition header files. Many more still to be done 2014-06-07 13:36:46 -06:00
Gregory Nutt
07c731d2bb SAMA5D4: Various changes to get the SAMA4D-EK to build 2014-06-06 15:39:40 -06:00
Gregory Nutt
c40c8d1924 SAMA5D4: Add L2CC register definition header file (incomplete) 2014-06-05 14:38:08 -06:00
Gregory Nutt
852cf2ee5b Finishes the SAMA5D4 XDMAC register definition header file 2014-06-04 16:59:41 -06:00
Gregory Nutt
74f95efdfc SAMA5D4: Add beginning of XDMAC register definition header file (incomplete) 2014-06-04 14:40:34 -06:00
Gregory Nutt
975dc5ec46 SAMA5D4: Let's consistently use the name XDMAC for the SAMA5D4 DMA module 2014-06-04 14:39:29 -06:00
Gregory Nutt
7d6633c2a4 Minor naming fix 2014-06-04 13:35:48 -06:00
Gregory Nutt
5ddcb233cc SAMA5: Add pin mux definitions for the SAMA5D4 2014-06-04 12:58:49 -06:00
Gregory Nutt
0342b3f10b SAMA5: Rename most EMAC definitions to EMAC0 to handle the SAMA5D4 which has to EMAC modules and no GMAC 2014-06-04 12:04:24 -06:00
Gregory Nutt
41032b021b SAMA4D4: Basic framework to support the SAMA4D4. Not yet complete 2014-06-03 17:49:51 -06:00
Gregory Nutt
407e72b300 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
af2bb81ac2 Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt
422a9c9bfd Optimized memcpy() functin for the ARMv7-A from David Sidrane 2014-05-06 14:58:48 -06:00
Gregory Nutt
d43b12c1e1 Sourceforge patch #40. Fix some conditional logic in clock configuration. From Luciano Neri 2014-04-29 11:32:33 -06:00
Gregory Nutt
0954437084 SAMA5 EMAC: Missing right parens from last change. Noted by Luciano Neri 2014-04-17 09:02:55 -06:00
Gregory Nutt
ebf221945c Move the un-definitions of __ramfuncs__ from the sam_clockconfig.c to the common up_internal.h header file so that the attribute will be applied the same to function definitions and prototypes. 2014-04-17 08:56:20 -06:00
Gregory Nutt
044f7209f6 SAMA5 TWI: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 12:09:55 -06:00
Gregory Nutt
67bea2d342 SAMA5 SSC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:58:23 -06:00
Gregory Nutt
be1bd45076 SAMA5 EMAC/GMAC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:13:08 -06:00
Gregory Nutt
e654036b5a SAMA5 CAN: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:00:32 -06:00
Gregory Nutt
a049b6a4c7 SAMA5 ADC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 09:42:07 -06:00
Gregory Nutt
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
33d5d24964 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
aefb741a6a STM32 OTGFS: Host USB tracing instrumentation added by Leo 2014-04-12 08:44:22 -06:00
Gregory Nutt
27a7636440 SAMA5 TWI: Number of bytes transferred not be incremented on the first byte. From David Sidrane 2014-04-10 18:19:03 -06:00
Gregory Nutt
43abe85674 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
398bf81c18 SAMA5 UDPHS: Fix error where bit was not cleared to acknowledge receipt of data and to setup for the next incoming data 2014-04-06 13:13:31 -06:00
Gregory Nutt
3e710c0080 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
4993dd6ed3 Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
77c968e36a Kconfig: Remove warnings. ARCH_RAMFUNCS depends on ARCH_HAVE_RAMFUNCS, so it is not possible to select ARCH_RAMFUNCS wihtout ARCH_HAVE_RAMFUNCS 2014-04-04 16:26:24 -06:00
Gregory Nutt
0b014faa75 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
e78f36e229 SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane 2014-04-04 08:59:39 -06:00
Gregory Nutt
724d2de086 Fix a build error when only USB device tracing is enabled (from David Sidrane). Also an update to the USB tracing document 2014-04-04 08:56:10 -06:00
Gregory Nutt
38e49b48c5 SAMA5: On some hardware, reconfiguring the PLL while executing out of NOR FLASH causes crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided. 2014-04-03 16:08:18 -06:00
Gregory Nutt
e92eaabb3e SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
774a24a2c2 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
c00a3ce914 SAMA5: When booting from SDRAM, don't copy vectors to ISRAM. Instread just set the VBAR register to add address of the vectors in SDRAM 2014-04-03 14:09:11 -06:00
Gregory Nutt
362d539914 If LOWVECTORS is selected, then we need to clear the VBAR register. A bootloader may have left the VBAR in an bad state 2014-04-03 13:09:30 -06:00
Gregory Nutt
e3d2117b29 SAMA5: Make sure the MMU and caches are disabled on power up; flush the vector region D-Cache after copying interrupt vectors; make sure that D-Cache, I-Cache, and TLBs are invalidated after modifying the AXI MATRIX remapping 2014-04-02 16:27:00 -06:00
Gregory Nutt
3a1e08bc3c SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
df7429add0 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
c6685c7f7d Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
c0bf638798 SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
cec5d575c0 Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
4a37d6b042 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
cd45038326 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
bb7fbad8bd cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
9767d1f976 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
406e91e262 SAMA5: Remove HSCMI-related functions that did not belong in sam_pmc.c and give them their own file 2014-03-30 08:00:59 -06:00
Gregory Nutt
eacf905089 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
c20f9c71b1 SAMA5D23 boards: When running out of SDRAM, need to query the PMC to determine operating frequency 2014-03-29 17:51:06 -06:00
Gregory Nutt
ff594d859e SAMA5: Add functions to calculate PLLACK, PCK, and MCK frequencies given the main clock frequency 2014-03-29 15:54:10 -06:00
Gregory Nutt
797f149481 SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
1b11e89c25 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
d2001a1dc3 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
f1e6ea46ed SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
9a724d8b36 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
fa3f78c821 Add missing HSCMI configuration options; Make HSMCI configuration naming more compatible; Fix HSCMI clocking to use the CLKODD bit 2014-03-24 14:25:40 -06:00
Gregory Nutt
4baa2c294f SAM4E UDP: Fix handling of GLBSTAT:CONFIG bit. Was not being set 2014-03-21 13:31:45 -06:00
Gregory Nutt
788fc5399d SAM4E UDP: Several fixes related to bulk endpoint transfers 2014-03-20 14:25:56 -06:00
Gregory Nutt
7f587876f7 SAM4E: Fix handling of CSR:DIR bit 2014-03-19 13:34:15 -06:00
Gregory Nutt
b74e183dac SAM3/4: Fleshing out environment to support USB device (UDP) 2014-03-16 14:11:22 -06:00
Gregory Nutt
483fcdca03 SAM3/4: Integrate the SPI DMA interface with the existing code. Does not yet work. 2014-03-13 15:54:09 -06:00
Gregory Nutt
c0c2fc4afe Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00
Gregory Nutt
740a3ce1b9 Removed unused configuratin variable: CONFIG_PGTABLE_VADDR 2014-03-01 16:21:28 -06:00
Gregory Nutt
095df26ed3 SAM4E: Completes all SAM4E register definition header files. Also a SAMA5D3 ADc register definition fix 2014-02-26 17:00:22 -06:00
Gregory Nutt
e3b409a436 More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
51e64910a0 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
c930554c2c Add support for .data and .bss in SDRAM 2014-01-28 14:35:03 -06:00
Gregory Nutt
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
f8d608a054 Fix a typo that was cloned to several SAMA5 and MTD files 2013-12-21 09:45:27 -06:00
Gregory Nutt
77c2cf2aa8 Cosmetic changes to comments and README files 2013-12-16 13:48:20 -06:00
Gregory Nutt
1ebe9bdae2 Back port some A10 changes into the SAMA5 memory map definitions 2013-12-16 09:21:55 -06:00
Gregory Nutt
7076b5ac51 A10+pcDuino: PIO support, LED and button support 2013-12-11 13:23:40 -06:00
Gregory Nutt
b4144e21d6 Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
a35d366dea More OV2640 initialization logic 2013-12-10 09:10:39 -06:00
Gregory Nutt
753df33e55 A little SAMA5 camera stuff 2013-12-09 14:20:11 -06:00
Gregory Nutt
fe2f4aff1f Add OV2640 camera support to test the SAMA5 ISI peripheral 2013-12-09 10:51:22 -06:00
Gregory Nutt
38eee28af6 pcDuino: More changes to get the code fragments that are in place building successfully 2013-12-07 16:44:23 -06:00
Gregory Nutt
b0859ea286 Minor updates to comments and README files 2013-12-07 07:00:48 -06:00
Gregory Nutt
f5bc559417 SAMA5 NAND: Fix some DMA-related issues 2013-12-06 13:04:15 -06:00
Gregory Nutt
e92d493d8e SAMA5 NAND: bugfixes 2013-12-06 11:34:29 -06:00
Gregory Nutt
1b21322f06 SAMA5 NAND: Fix several bugs associated with PMECC data transfers 2013-12-05 18:20:32 -06:00
Gregory Nutt
d01808c603 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
10143f89f4 Cosmetic updates to comments and READMEs 2013-12-04 16:41:45 -06:00
Gregory Nutt
333a49152b LPC31 EHCI: Fix errors in DEBUGASSERT statements 2013-12-04 14:29:24 -06:00
Gregory Nutt
39c3b783ae SAMA5 NAND: PMECC logic was reading past the end of the user buffer 2013-12-04 13:14:26 -06:00
Gregory Nutt
8a97561ceb SAMA5 NAND: Fix some PMECC setup logic 2013-12-04 11:56:56 -06:00
Gregory Nutt
9632d2a7f6 SAMA5 NAND: Do not perform DMA on small transfers 2013-12-04 07:41:29 -06:00
Gregory Nutt
0a456987c6 Condition out most of the recent NXFFS changes for NAND. NXFFS will never be able to support NAND 2013-12-03 13:11:11 -06:00
Gregory Nutt
d125a28b0d SAMA5 DMA: Address of next descriptor in list is a physical address 2013-12-03 09:48:13 -06:00
Gregory Nutt
8ad33030d3 SAMA5 NAND: Only CS3 can have NAND 2013-12-03 06:59:22 -06:00
Gregory Nutt
1de529cc42 SAMA5 NAND: Can't DMA using DMAC1. Add lots of NAND DMA debug instrumentation 2013-12-02 17:15:57 -06:00
Gregory Nutt
c62a9c269a SAMA5 NAND: Basic NAND access now work (software ECC and no DMA) 2013-12-01 18:21:41 -06:00
Gregory Nutt
06dca0d263 SAMA5 NAND: Return value should not be ignored 2013-12-01 13:39:28 -06:00
Gregory Nutt
6cd5215759 SAMA5 NAND: Fix some race conditions in checking status bits 2013-11-30 14:17:32 -06:00
Gregory Nutt
394d1a8232 SAMA5 EHCI: Fix case when interrupt endpoints enabled 2013-11-29 16:42:44 -06:00
Gregory Nutt
4b8ba0cddc SAMA5 NAND: Don't use HSMC interrupts. They occur to quickly and cause mysterious race conditions 2013-11-29 11:52:47 -06:00
Gregory Nutt
d2eee4b7f0 SAMA5 NAND: Still debugging 2013-11-28 12:21:33 -06:00
Gregory Nutt
a0a17933fd SAMA5 NAND: A few bug fixes for integration. Still lots more to do 2013-11-27 11:04:40 -06:00
Gregory Nutt
e8c0512ea6 SAMA5 NAND: Fix some DMA related issues 2013-11-27 07:37:42 -06:00
Gregory Nutt
2f0326033b SAMA5 DMA: Add an option to disable DMA for debug purposes 2013-11-26 06:55:14 -06:00
Gregory Nutt
ce293c1e75 SAMA5 NAND: Changes made durint testing (still does not work) 2013-11-25 18:38:03 -06:00
Gregory Nutt
bafa5b1031 SAMA5 NAND: Trivial changes 2013-11-25 14:16:04 -06:00
Gregory Nutt
eb3a2335da SAMA5 NAND: Fix a few race conditions 2013-11-25 13:53:58 -06:00
Gregory Nutt
34bc3eea1d SAMA5D3x-EK NAND: Integrate SAMA5 NAND support into SAMA5D3x-EK board support 2013-11-25 12:10:24 -06:00
Gregory Nutt
9272c2343e SAMA5 PMECC: Code complete 2013-11-25 09:04:41 -06:00
Gregory Nutt
f6bef28d96 SAMA5 NAND: Retrofit trim page logic 2013-11-24 14:57:30 -06:00
Gregory Nutt
23d767a19e SAMA5 PMECC: Ported Gallois tables 2013-11-24 12:36:42 -06:00
Gregory Nutt
31a65431f0 SAMA5 NAND: Finish upper part of PMECC logic; add HSMC interrupt handling 2013-11-24 11:51:30 -06:00
Gregory Nutt
79c4fb8fe6 SAMA5 PMECC: More progress, still not complete 2013-11-24 09:37:59 -06:00
Gregory Nutt
efffc0bde1 SAMA5 PMECC: A little more 2013-11-23 11:26:33 -06:00
Gregory Nutt
590adfa766 SAMA5 PMECC: Some ROM-related interface updates 2013-11-23 10:06:33 -06:00
Gregory Nutt
e61adfbbbe Cosmetic changes 2013-11-22 13:36:07 -06:00
Gregory Nutt
25449c2d1f SAMA5 NAND: More stuff 2013-11-22 11:19:32 -06:00
Gregory Nutt
b93320e96b LPC3131 EHCI: More fixes 2013-11-21 16:39:49 -06:00
Gregory Nutt
ae79d5b59f SAMA5 NAND: More progress 2013-11-21 11:13:08 -06:00
Gregory Nutt
6723409a6a SAMA5 NAND: Add block erase logic 2013-11-20 13:55:23 -06:00
Gregory Nutt
841d0dea3b Rethinking some NAND interfaces 2013-11-19 08:50:12 -06:00
Gregory Nutt
59f1b7813c Finishes up NAND software ECC logic 2013-11-18 11:42:17 -06:00
Gregory Nutt
e0a02bbd2c MTD NAND: Beginning of software ECC logic 2013-11-18 09:43:44 -06:00
Gregory Nutt
3c4182115d More NAND stuff 2013-11-17 12:22:09 -06:00
Gregory Nutt
76e380d587 Continuing NAND integration 2013-11-17 08:56:30 -06:00
Gregory Nutt
c11cfd3368 More NAND logic (still not complete) 2013-11-16 18:26:07 -06:00
Gregory Nutt
28a1a5e428 Futher NAND development 2013-11-16 13:19:09 -06:00
Gregory Nutt
204d351720 Further NAND development 2013-11-16 11:46:35 -06:00
Gregory Nutt
cdf2e03878 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
Gregory Nutt
3ab6d2b40a SAMA5 NAND: Basic support for access to NAND FLASH 2013-11-15 09:30:05 -06:00
Gregory Nutt
1dc1b8caa3 SAMA5 PCK: Need to configure the programmable clock output pin as well 2013-11-14 11:41:59 -06:00
Gregory Nutt
0baa2807a6 SAMA5 ISI: Framework for ISI drivers. Not much there on initial check-in 2013-11-14 11:17:00 -06:00
Gregory Nutt
66111ef582 SAMA5 PCK: Add support for programmable clock outputs 2013-11-14 11:16:04 -06:00
Gregory Nutt
e698fe5433 SAMA SSC: Add bufffer dump debug instrumentation 2013-11-12 16:22:05 -06:00
Gregory Nutt
141cebc8c7 SAMA5 SSC: Fix DMA data width: 16 not 32 bits 2013-11-12 15:53:02 -06:00
Gregory Nutt
5d2ff0d4dc SAMA5: Fix issues with RX synch 2013-11-12 14:56:00 -06:00
Gregory Nutt
43f7418d56 SAMA5 SSC: With these changes, the TX DMA works. But nothing is received from the loopback 2013-11-12 12:19:11 -06:00
Gregory Nutt
196cf89d43 SAMA5 SSC: Fix an error in the DMA timeout calculation 2013-11-12 10:59:41 -06:00
Gregory Nutt
f6bbb1217a SAMA4 SSC: Additional DEBUG instrumentation 2013-11-12 10:19:52 -06:00
Gregory Nutt
fce0a3fc6b Various fixes from initial attempts to integrate the SAMA5 SSC/I2C driver with the I2C character driver loopback test 2013-11-11 15:18:57 -06:00
Gregory Nutt
60950c760f SAMA5 I2S Kconfig update 2013-11-11 13:50:25 -06:00
Gregory Nutt
c615f6e6fd Support for the Atmel SAM4E family. From Mitko 2013-11-11 07:45:09 -06:00
Gregory Nutt
7bb75a5f4a SAMA5 LCD: More bad color format definitions 2013-11-10 16:31:21 -06:00
Gregory Nutt
6e6350e1c6 SAMA5 LCD: Fix some bad color format definitions 2013-11-10 16:16:33 -06:00
Gregory Nutt
6dac38cbb6 SAMA5 I2S: Need to update the count of valid bytes at the conclusion of the read DMA 2013-11-10 15:02:51 -06:00
Gregory Nutt
6d4a87f330 I2S simplifed audio buffer queuing 2013-11-10 14:51:33 -06:00
Gregory Nutt
9859d1131c Small but important typo in the last commit 2013-11-10 11:51:50 -06:00
Gregory Nutt
53667316be SAMA5 SSC: Add support for loopback mode. Plus unrelated Make.defs file from the last checkin 2013-11-10 11:46:45 -06:00
Gregory Nutt
ce58c79a1b Add an I2S character driver. This driver is only intended to support I2S testing and is inappropriate for use with real I2S devices 2013-11-10 10:24:09 -06:00
Gregory Nutt
7fde75a876 SAMA5 I2S: Try to chain as many DMAs together as possible 2013-11-09 15:01:18 -06:00