FB 4.0.1 Design Mode not working

After installing the update, I am able to use Code View just fine, but when switching to design view the entire application "whites out".  After resizing the window some things come back, but I am never fully in Design View.  I get the error "com.adobe.flexide.embeddedplayer.ExternalPlayer.<init>(ILcom/adobe/flexide/embeddedplaye r/IPLayerHost;I)V"

Hello,
I have the same issue. The log files contains the following exception (maybe it helps):
com.adobe.flexide.embeddedplayer.ExternalPlayer.<init>(ILcom/adobe/flexide/embeddedplayer/ IPlayerHost;I)V
       at com.adobe.flexide.playerview.PlayerViewer.<init>(PlayerViewer.java:48)
       at com.adobe.flexbuilder.designview.DesignViewPart.createPlayerCanvas(DesignViewPart.java:15 8)
       at com.adobe.flexbuilder.designview.DesignViewPart.loadDesignViewSwf(DesignViewPart.java:195 )
       at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignPart.startDesignView(MXMLDesignPart.ja va:203)
       at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignPart.<init>(MXMLDesignPart.java:68)
       at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.initializePlayer(MXMLDesignEdit or.java:1411)
       at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.initializeDesignView(MXMLDesign Editor.java:1576)
       at com.adobe.flexbuilder.mxml.editor.design.MXMLDesignEditor.setFocus(MXMLDesignEditor.java: 1736)
       at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1119)
       at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1101)
       at org.eclipse.ui.part.MultiPageEditorPart.pageChange(MultiPageEditorPart.java:837)
       at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.pageChange(CodeAndDesignEdito r.java:546)
       at com.adobe.flexbuilder.mxml.editor.MXMLEditor.pageChange(MXMLEditor.java:479)
       at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1076)
       at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.setActivePage(CodeAndDesignEd itor.java:683)
       at com.adobe.flexbuilder.mxml.editor.MXMLEditor.setActivePage(MXMLEditor.java:544)
       at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor$1.clicked(CodeAndDesignEditor .java:454)
       at com.adobe.flexide.editorcore.ui.controls.ButtonBar.clicked(ButtonBar.java:289)
       at com.adobe.flexide.editorcore.ui.controls.AbstractButton.sendClickEvent(AbstractButton.jav a:41)
       at com.adobe.flexide.editorcore.ui.controls.ToggleButton.handleChange(ToggleButton.java:79)
       at com.adobe.flexide.editorcore.ui.controls.ToggleButton.mouseDown(ToggleButton.java:66)
       at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)
       at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)
       at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:3036)
       at org.eclipse.swt.widgets.Control.actionProc(Control.java:125)
       at org.eclipse.swt.widgets.Display.actionProc(Display.java:363)
       at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
       at org.eclipse.swt.widgets.Widget.kEventControlTrack(Widget.java:1133)
       at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:2109)
       at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:375)
       at org.eclipse.swt.widgets.Display.controlProc(Display.java:863)
       at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3051)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
       at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
       at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
       at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
       at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
       at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        So long,
        Gregor Féng

Similar Messages

  • Design mode not working in Jdev 10g

    Hi All
    I am facing some problem in Jdeveloper 10g. I created a project few days back. Today when I am opening jsp pages of that project, It is not coming in the Design mode. It writes only "Page Directives" instead of showing Forms and Tables. But when I run them, it shows the tables etc properly in browser.
    Can anybode help me out to open the page in Design mode again.
    Regards
    Rexy

    Hi Chris
    According to the note, These files gate changed when they are inside WEB-INF. But in my case, these files are parallel to WEB-INF and still they are showing this kind of behaviour.
    Regards
    Rajat

  • Design Mode not working - java.lang.Null Pointer exception

    When attempting to use the Design mode Flash Builder has started to completely fail to display the design and issues following erros in the components tab:
    "Could not create the view: An unexpected exception was thrown."
    "java.lang.NullPointerException
        at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.getCustomComponents Filtered(ComponentCategoryList.java:207)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView$ViewContentProvider.get Elements(ComponentsView.java:339)
        at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:959)
        at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:390)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 636)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:60 2)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.ja va:1490)
        at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:828)
        at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392 )
        at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353 )
        at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createMainControl(Compo nentsView.java:594)
        at com.adobe.flexbuilder.mxml.editor.views.AbstractDesignOnlyView.createPartControl(Abstract DesignOnlyView.java:125)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createPartControl(Compo nentsView.java:1036)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2229)
        at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1067)
        at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3816)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3813)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.showViews (CodeAndDesignViewManager.java:665)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.reconfigP anels(CodeAndDesignViewManager.java:547)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.pageAbout ToChange(CodeAndDesignViewManager.java:409)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.pageAboutToChange(CodeAndDesi gnEditor.java:582)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.setActivePage(CodeAndDesignEd itor.java:682)
        at com.adobe.flexbuilder.mxml.editor.MXMLEditor.setActivePage(MXMLEditor.java:544)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor$1.clicked(CodeAndDesignEditor .java:454)
        at com.adobe.flexide.editorcore.ui.controls.ButtonBar.clicked(ButtonBar.java:289)
        at com.adobe.flexide.editorcore.ui.controls.AbstractButton.sendClickEvent(AbstractButton.jav a:41)
        at com.adobe.flexide.editorcore.ui.controls.ToggleButton.handleChange(ToggleButton.java:79)
        at com.adobe.flexide.editorcore.ui.controls.ToggleButton.mouseDown(ToggleButton.java:66)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)"
    This makes Flash Builder 4 pretty much useless to me. Anybody happen to know how to fix this issue?
    Thanks a lot in advance

    Uninstalling Flash Builder 4 (my machine is a Mac Pro) and re-installing it solved the issue. Not my favourite way to resolve issues ... but desperate times ask for desperate measures.

  • Widgets on my desktop using dev-mode not working in Lion

    I'm trying to get iStat back ontop of my desktop like I had in Snow Leopard. Dev-mode not working to bring widgets forward anymore. Any Ideas how to do this in lion? In Snow Leopard it was defaults write com.apple.sashboard devmode YES now that isn't working.

    When I connect my MBP (mid 2010) to iMac 27" (mid 2010), via Mini DisplayPorts, after pressing Command+F2, iMac screen went "blank" while MBP screen stays "blue" for few seconds and went back to normal. How to solve this problem?

  • Blue screen on start up. Safe mode not working?

    Blue screen on start up. Safe mode not working, any suggestions?

    Thank you, I had forgotten about target mode. I was able to back up all of my files. I also copied some additional 50 GB of files of the disk as a stress test and the hard drive worked fine and quick (and because it was quicker than retrieving the same files from a network drive to my desktop).
    I was hoping to also unpack the Applejack files on my desktop and put them back so I could run them in single user mode without running /etc/rc. However I haven't been able to get my Linux desktop to mount the iBook in Read-Write instead of Read-Only yet (I don't have access to another Mac at the moment).

  • Blend Modes not working in CS6

    My blend modes aren't working. If I try to apply a blend mode, no effect.

    Hi, Noel. I'm very new at this, so I'll try to give you as much information as I can. Using blend mode on the single merged layer was working for me several hours ago. My process was Gaussian bur on layer, blend mode set to multiply on layer, and then desaturate. When blend mode was working, desaturation looked kinda funny (something wasn't right). I'm following this tutorial: http://wegraphics.net/blog/tutorials/how-to-design-a-vintage-style-ski-poster-in-photoshop /
    I tried adding a new layer under the old layer, but still not working. How do I set new layer as a background? I have no intent to save it as a partially transparent PNG.

  • Blending modes not working in CS6

    High everybody, i am working in cs6 and starting to frustrate more and more, tried everything and nothing seems to work. Layer blending modes just seems to stop working at one moment, or at certain layers, i dont know. I have two layers one on top of other, and when i set blending mode on top layer everything just goes white, I will post screenshot of my ps, so if anybody can help me pls.. Thanks!
    .

    I wanted to do some quick tutorial and this is the one i chose to kill boredom... http://psd.tutsplus.com/tutorials/designing-tutorials/creating-a-cool-3d-web-design-effect / (step 10) if you have time look into it.
    The guy copies white rectangular background layer with radial gradient fx (dark red) on top, disables gradient and applies pattern overlay fx with overlay blend mode, so he just inserts pattern onto header layer and result is header with radial gradient and pattern, i know what you are saying and probably know how to do it some other way, but i am really buged how he did it, is it because he worked in older v. of ps?
    p.s. this means then that in order for pattern overlay fx to work in overlay blend mode - shapes must have color (not working when colored with #fff or #000) - right?
    Thanx

  • DW Design Mode not rendering properly

    Can anyone help me with this one ...
    Grab the source from this site
    http://www.s-3corp.com/ and save
    the
    page. Open it in DW design mode. try to select the text and
    edit it
    from within DW design mode?
    If I want to edit the content - I must do it in code view. If
    I attempt
    to select text in design view - then DW selects the entire
    containing
    div - which is really really annoying.
    Any ideas? I assume it is a setting of some kind - except
    this is the
    only site I have that does this. So then I think it is in the
    code
    somehow? The styling? AARRRGHH!! :)
    Thanks,
    Chris
    Chris Luksha
    Echo Web Services
    Making Your Website Resound
    p: 603-831-0099
    f: 603-532-8906
    http://www.echowebservices.com/
    Now supplying Thawte certs
    http://tinyurl.com/2xnxo8
    AND Authorize.net Low rates
    http://tinyurl.com/2cmoq3
    And Did I mention I love building Cartweaver Modules

    It's a pragmatic solution to the problem of fitting 5 pounds
    of content into
    a 3 pound box. If you have content in a region that must
    scroll, and if
    DW's design view were to show you all of the content, it
    would break your
    layout. This is the solution to that issue....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Chris Luksha"
    <[email protected]> wrote in message
    news:fm3hga$q8r$[email protected]..
    > Hi Murray - the code is on the page -
    http://www.s-3corp.com/
    >
    > Of course it is using includes so there are 6 included
    files or so -
    > however they are line for line when rendered - so..
    >
    > Anyway - I just now created a new style sheet for design
    time and hid the
    > menu navigation bar above the content -which was the
    content masking the
    > content - or at least part of it :)
    >
    > And that worked once I double clicked in the content
    area.
    >
    > So I think my solution will be to import the "localonly"
    style sheet from
    > the main style sheet and simply put a blank
    "localonly.css" file on the
    > server while my local one hides the menu.
    >
    > At least it is a workaroound for now. So why does the
    overflow effect DW
    > in this way?
    >
    >
    > Chris Luksha
    > Echo Web Services
    > Making Your Website Resound
    > p: 603-831-0099
    > f: 603-532-8906
    >
    http://www.echowebservices.com/
    >
    > Now supplying Thawte certs
    http://tinyurl.com/2xnxo8
    > AND Authorize.net Low rates
    http://tinyurl.com/2cmoq3
    > And Did I mention I love building Cartweaver Modules
    >
    > Murray *ACE* wrote:
    >>> However even though I am there I still can't
    click the beginning of the
    >>> content text.
    >>
    >> This usually means that there is a masking
    positioned element over top of
    >> the part you are trying to edit. Why not show us the
    page / code?
    >>

  • Design mode not available when creating or opening a php file - CS5

    I am not sure if this is a bug or not.  When I create a new php file, it opens in code view.  The options to view in design or code and design mode are disabled.  If I reset the workspace, does not matter which workspace I am in at the time, then the file is displayed in code and design mode but the options to view in design or code and design are disabled.
    If I select code view mode, the design view disappears (as expected) but there is no way to get to design or code and design without resetting the workspace.
    Is this considered normal operation?  The help system does not hint that there is a restriction on view modes for a PHP file.
    Thanks
    Walter

    Hi Walter,
    my DW opens always in that mode which I last worked in with a file and then closed DW. Did you already try this (tranlated from German DW):
    Preferences> General> Open new document at startup.
    Hans-G.

  • MicroC-OS-II running on Microblaze with UARTLITE in interrupt mode not working

    Hello, 
    I am trying to write and application that uses the MicroBlaze which runs the MicroC-OS-II. I am also trying to use the UARTLITE in interrupt mode. 
    Currently I can use the UARTLITE in interrrupt mode if I run a standalone package that is without MicroC-OS-II.m
    I read the documentation attached see page 22 (Handling Interrupts). On how the OS handles interrupts but I am little confused on how to setup the UARTLITE in interrrupt mode to work with the OS.
    I know that OS_CPU_ISR() handles the interrupt but how do I make it so that it handles the uartlite interrupt. 
    I am really confused how I should modify the UARTLITE interrupt code below to work with MICROC/OS. As really confused I MEAN I JUST DON"T understand. 
    * (c) Copyright 2002-2013 Xilinx, Inc. All rights reserved.
    * This file contains confidential and proprietary information of Xilinx, Inc.
    * and is protected under U.S. and international copyright and other
    * intellectual property laws.
    * DISCLAIMER
    * This disclaimer is not a license and does not grant any rights to the
    * materials distributed herewith. Except as otherwise provided in a valid
    * license issued to you by Xilinx, and to the maximum extent permitted by
    * applicable law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND WITH ALL
    * FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS,
    * IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
    * MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE;
    * and (2) Xilinx shall not be liable (whether in contract or tort, including
    * negligence, or under any other theory of liability) for any loss or damage
    * of any kind or nature related to, arising under or in connection with these
    * materials, including for any direct, or any indirect, special, incidental,
    * or consequential loss or damage (including loss of data, profits, goodwill,
    * or any type of loss or damage suffered as a result of any action brought by
    * a third party) even if such damage or loss was reasonably foreseeable or
    * Xilinx had been advised of the possibility of the same.
    * CRITICAL APPLICATIONS
    * Xilinx products are not designed or intended to be fail-safe, or for use in
    * any application requiring fail-safe performance, such as life-support or
    * safety devices or systems, Class III medical devices, nuclear facilities,
    * applications related to the deployment of airbags, or any other applications
    * that could lead to death, personal injury, or severe property or
    * environmental damage (individually and collectively, "Critical
    * Applications"). Customer assumes the sole risk and liability of any use of
    * Xilinx products in Critical Applications, subject only to applicable laws
    * and regulations governing limitations on product liability.
    * THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS PART OF THIS FILE
    * AT ALL TIMES.
    * @file xuartlite_intr_example.c
    * This file contains a design example using the UartLite driver (XUartLite) and
    * hardware device using the interrupt mode.
    * @note
    * The user must provide a physical loopback such that data which is
    * transmitted will be received.
    * MODIFICATION HISTORY:
    * <pre>
    * Ver Who Date Changes
    * 1.00a jhl 02/13/02 First release
    * 1.00b rpm 10/01/03 Made XIntc declaration global
    * 1.00b sv 06/09/05 Minor changes to comply to Doxygen and coding guidelines
    * 2.00a ktn 10/20/09 Updated to use HAL Processor APIs and minor changes
    * for coding guidelnes.
    * </pre>
    /***************************** Include Files *********************************/
    #include "xparameters.h"
    #include "xuartlite.h"
    #include "xintc.h"
    #include "xil_exception.h"
    /************************** Constant Definitions *****************************/
    * The following constants map to the XPAR parameters created in the
    * xparameters.h file. They are defined here such that a user can easily
    * change all the needed parameters in one place.
    #define UARTLITE_DEVICE_ID XPAR_UARTLITE_2_DEVICE_ID
    #define INTC_DEVICE_ID XPAR_INTC_0_DEVICE_ID
    #define UARTLITE_INT_IRQ_ID XPAR_INTC_0_UARTLITE_2_VEC_ID
    * The following constant controls the length of the buffers to be sent
    * and received with the UartLite device.
    #define TEST_BUFFER_SIZE 100
    /**************************** Type Definitions *******************************/
    /***************** Macros (Inline Functions) Definitions *********************/
    /************************** Function Prototypes ******************************/
    int UartLiteIntrExample(u16 DeviceId);
    int SetupInterruptSystem(XUartLite *UartLitePtr);
    void SendHandler(void *CallBackRef, unsigned int EventData);
    void RecvHandler(void *CallBackRef, unsigned int EventData);
    /************************** Variable Definitions *****************************/
    XUartLite UartLite; /* The instance of the UartLite Device */
    XIntc InterruptController; /* The instance of the Interrupt Controller */
    * The following variables are shared between non-interrupt processing and
    * interrupt processing such that they must be global.
    * The following buffers are used in this example to send and receive data
    * with the UartLite.
    u8 SendBuffer[TEST_BUFFER_SIZE];
    u8 ReceiveBuffer[TEST_BUFFER_SIZE];
    * The following counters are used to determine when the entire buffer has
    * been sent and received.
    static volatile int TotalReceivedCount;
    static volatile int TotalSentCount;
    * Main function to call the UartLite interrupt example.
    * @param None
    * @return XST_SUCCESS if successful, XST_FAILURE if unsuccessful
    * @note None
    int main(void)
    int Status;
    xil_printf("Started\n");
    * Run the UartLite Interrupt example, specify the Device ID that is
    * generated in xparameters.h.
    Status = UartLiteIntrExample(UARTLITE_DEVICE_ID);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    return XST_SUCCESS;
    * This function does a minimal test on the UartLite device and driver as a
    * design example. The purpose of this function is to illustrate
    * how to use the XUartLite component.
    * This function sends data and expects to receive the same data through the
    * UartLite. The user must provide a physical loopback such that data which is
    * transmitted will be received.
    * This function uses interrupt driver mode of the UartLite device. The calls
    * to the UartLite driver in the handlers should only use the non-blocking
    * calls.
    * @param DeviceId is the Device ID of the UartLite Device and is the
    * XPAR_<uartlite_instance>_DEVICE_ID value from xparameters.h.
    * @return XST_SUCCESS if successful, otherwise XST_FAILURE.
    * @note
    * This function contains an infinite loop such that if interrupts are not
    * working it may never return.
    int UartLiteIntrExample(u16 DeviceId)
    int Status;
    int Index;
    * Initialize the UartLite driver so that it's ready to use.
    Status = XUartLite_Initialize(&UartLite, DeviceId);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Perform a self-test to ensure that the hardware was built correctly.
    Status = XUartLite_SelfTest(&UartLite);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Connect the UartLite to the interrupt subsystem such that interrupts can
    * occur. This function is application specific.
    Status = SetupInterruptSystem(&UartLite);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Setup the handlers for the UartLite that will be called from the
    * interrupt context when data has been sent and received, specify a
    * pointer to the UartLite driver instance as the callback reference so
    * that the handlers are able to access the instance data.
    XUartLite_SetSendHandler(&UartLite, SendHandler, &UartLite);
    XUartLite_SetRecvHandler(&UartLite, RecvHandler, &UartLite);
    * Enable the interrupt of the UartLite so that interrupts will occur.
    XUartLite_EnableInterrupt(&UartLite);
    * Initialize the send buffer bytes with a pattern to send and the
    * the receive buffer bytes to zero to allow the receive data to be
    * verified.
    for (Index = 0; Index < TEST_BUFFER_SIZE; Index++) {
    SendBuffer[Index] = Index;
    ReceiveBuffer[Index] = 0;
    * Start receiving data before sending it since there is a loopback.
    XUartLite_Recv(&UartLite, ReceiveBuffer, TEST_BUFFER_SIZE);
    * Send the buffer using the UartLite.
    XUartLite_Send(&UartLite, SendBuffer, TEST_BUFFER_SIZE);
    * Wait for the entire buffer to be received, letting the interrupt
    * processing work in the background, this function may get locked
    * up in this loop if the interrupts are not working correctly.
    while ((TotalReceivedCount != TEST_BUFFER_SIZE) ||
    (TotalSentCount != TEST_BUFFER_SIZE)) {
    for (Index = 0; Index < TEST_BUFFER_SIZE; Index++)
    xil_printf("%d",ReceiveBuffer[Index]);
    * Verify the entire receive buffer was successfully received.
    for (Index = 0; Index < TEST_BUFFER_SIZE; Index++) {
    if (ReceiveBuffer[Index] != SendBuffer[Index]) {
    return XST_FAILURE;
    return XST_SUCCESS;
    * This function is the handler which performs processing to send data to the
    * UartLite. It is called from an interrupt context such that the amount of
    * processing performed should be minimized. It is called when the transmit
    * FIFO of the UartLite is empty and more data can be sent through the UartLite.
    * This handler provides an example of how to handle data for the UartLite,
    * but is application specific.
    * @param CallBackRef contains a callback reference from the driver.
    * In this case it is the instance pointer for the UartLite driver.
    * @param EventData contains the number of bytes sent or received for sent
    * and receive events.
    * @return None.
    * @note None.
    void SendHandler(void *CallBackRef, unsigned int EventData)
    TotalSentCount = EventData;
    * This function is the handler which performs processing to receive data from
    * the UartLite. It is called from an interrupt context such that the amount of
    * processing performed should be minimized. It is called data is present in
    * the receive FIFO of the UartLite such that the data can be retrieved from
    * the UartLite. The size of the data present in the FIFO is not known when
    * this function is called.
    * This handler provides an example of how to handle data for the UartLite,
    * but is application specific.
    * @param CallBackRef contains a callback reference from the driver, in
    * this case it is the instance pointer for the UartLite driver.
    * @param EventData contains the number of bytes sent or received for sent
    * and receive events.
    * @return None.
    * @note None.
    void RecvHandler(void *CallBackRef, unsigned int EventData)
    TotalReceivedCount = EventData;
    * This function setups the interrupt system such that interrupts can occur
    * for the UartLite device. This function is application specific since the
    * actual system may or may not have an interrupt controller. The UartLite
    * could be directly connected to a processor without an interrupt controller.
    * The user should modify this function to fit the application.
    * @param UartLitePtr contains a pointer to the instance of the UartLite
    * component which is going to be connected to the interrupt
    * controller.
    * @return XST_SUCCESS if successful, otherwise XST_FAILURE.
    * @note None.
    int SetupInterruptSystem(XUartLite *UartLitePtr)
    int Status;
    * Initialize the interrupt controller driver so that it is ready to
    * use.
    Status = XIntc_Initialize(&InterruptController, INTC_DEVICE_ID);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Connect a device driver handler that will be called when an interrupt
    * for the device occurs, the device driver handler performs the
    * specific interrupt processing for the device.
    Status = XIntc_Connect(&InterruptController, UARTLITE_INT_IRQ_ID,
    (XInterruptHandler)XUartLite_InterruptHandler,
    (void *)UartLitePtr);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Start the interrupt controller such that interrupts are enabled for
    * all devices that cause interrupts, specific real mode so that
    * the UartLite can cause interrupts through the interrupt controller.
    Status = XIntc_Start(&InterruptController, XIN_REAL_MODE);
    if (Status != XST_SUCCESS) {
    return XST_FAILURE;
    * Enable the interrupt for the UartLite device.
    XIntc_Enable(&InterruptController, UARTLITE_INT_IRQ_ID);
    * Initialize the exception table.
    Xil_ExceptionInit();
    * Register the interrupt controller handler with the exception table.
    Xil_ExceptionRegisterHandler(XIL_EXCEPTION_ID_INT,
    (Xil_ExceptionHandler)XIntc_InterruptHandler,
    &InterruptController);
    * Enable exceptions.
    Xil_ExceptionEnable();
    return XST_SUCCESS;
     

    Hello,
    I have a KC705 board, with Microblaze on it. My software is Witten above the operating system of µC/OS-II.I am trying to write multi task ie. task1 and task2.  Application that uses the MicroBlaze which runs the MicroC-OS-II.
    I am using  the UARTLITE able to run hello world program successfully is with MicroC-OS-II.I read the documentations,  On how the OS handles multi task, but I am little confused on how to implement..(i am new to RTOS). Please suggest  me or share the any documents, any example codes.
    ~thanks
    ASHIOK H

  • Target Display Mode not working iMac 27(2012) Bootcamp to iMac 27(2013)

    Hi All,
    I recently purchased an iMac 27" 2013 which replaced my iMac 27" 2010.
    ===============
    PREVIOUS SETUP
    ===============
    (1) iMac 27" 2012 - Running Windows 8.1
    (2) iMac 27" 2010 - Running OS X Mavericks
    (1)+(2) were connected with a Mini-Display-Port cable.
    (1) was using (2) as external display while (2) was set to Target Display Mode using CMD+F2
    ==============
    CURRENT SETUP
    ==============
    (1) iMac 27" 2013 - Running Windows 8.1
    (2) iMac 27" 2012 - Running OS X Mavericks
    (1)+(2) are connected with Thunderbolt cable.
    (1) can't use (2) as external display anymore becuase CMD+F2 has no effect anymore on (2) in this scenario.
    If (1) and (2) are both running OS X all works as expected.
    I am aware about the support hint from Apple where they state TDM is not working under Bootcamp.
    And I agree, while booted into Windows Bootcamp this machine can't serve as external display. Makes sense because TDM is baked into OS X display drivers.
    Anyone had the same experience and came to a soltuion?
    Thanks,
    Martin

    "Apple has no plans to implement a client driver for Windows since there is no Thunderbolt SW stack available for Windows like there is for Display Port."
    That is a little bit funny since Gigabyte and other big companies have said that 2014 is the year that they are going to implement Thunderbolt in many motherboards.
    "GIGABYTE 7 series motherboards are the very first to offer fully certified dual onboard Thunderbolt™ ports. Capable of connecting up to 12 devices plus 3 digital displays simultaneously with breathtaking data transfer speeds that can transfer 1TB of data in only five minutes, GIGABYTE Thunderbolt™ motherboards offer the fastest connection interface on the desktop PC."
    Have you asked Apple about that? I dont understand why Apple is crippling Thunderbolt on their devices...

  • Layout Mode not working in T-Code SQVI for some GUI

    Dear Experts,
    It has been found that the Layout mode is not working in T-code SQVI in some of our users Systems . The Layout Mode is working perfectly fine in some system though. If we select Layout mode in some system it is showing screens the same as in Basis Mode.
    The GUI version is same in both the machines and both are having the same OS.
    GUI Version : 710
    OS : XP
    Kindly suggest if any settings needs to be done in System or GUI so that all the systems get the same interface of Layout Mode as required.
    - Jitesh

    Hi experts,
    Just wished to post the solution of the Issue raised by me...
    I just needed to update my GUI Patch level available at market Place.
    Thanks.
    Jitesh

  • N95 8Gb USB Data Transfer Mode not working

    I have a bizarre problem with USB Data transfer.
    a) I upgraded to the new 15.x firmware with the correct HKCSL package - 0557980
    b) I connected PC #1 in data transfer mode with no issue and copied a bunch of installers onto the mass memory and went on to install them - to the PHONE memory.
    c) Later in the day, connected PC #2 and did the same with the last few applications.
    d) Next day tried to connect PC #1 and it didn't work
    e) Thought I must have an application using the MASS storage but checked and not so - all apps on Phone memory.
    f) Went to PC #2 and tried - Data transfer mode works - no problem.
    g) Tried PC #1 again, and still not working. I get all the right messages (Mass storage cannot be used at this time etc) on the handset, and I get the "safely remove hardware" option appearing on the PC - but I don't get a drive letter assigned in the Windows Explorer.
    h) I have tried it on PC #3 and this works as well - no problem.
    1. The working PC's both have PC Suite 2-Beta installed, while the problem PC has no PC suite at all.
    2. I have downloaded the Nokia-connectivity_cable_driver_rel_6_85_10_0 and it installs properly - giving all the expected wireless... options in Device Manager, but I still don't get a drive letter assigned with the basic data transfer mode on this problem PC #1
    So the issue seems to be with a PC that has never seen any version of PC suite, but it worked straight after the firmware upgrade.
    All PC's are XP SP2.
    Any suggestions on anything else to try ?
    Regards

    SOLVED by:
    - attaching N95, selecting USB Data Transfer Mode
    - Going to Device Manager
    - Selecting the USB Mass Storage Device for N95
    - "Uninstall"
    - Remove cable when N95 says its safe to
    - Re-attach cable
    The PC then re-discovered and reloaded the drivers including the mass storage which then worked normally.
    No idea what messed it up in the first place though.

  • Adding 3 Airport Extremes to Linksys WGT4400N in Bridge Mode  Not working

    I have a network that starts in a homerun closet and is expanded across 5 acres to differnet locations via CAT5e.
    Homerun Closet has Linksys WGT4400N with Cat5e running to three different locations on property. The cables are within length limitations.
    1st Airport Extreme N Running in Bridge Mode Connected and Working in Main House
    2nd Airport Extreme N Running in Bridge Mode Connected and Working in Guest House
    3rd Airport Extreme Replaced with new one Connected and Not Working in Office. This Airport Extreme N is configured just like the others but it cannot see the network. Cables Verified with Testers and Mac Pro at office location, works when ethernet cable is directly connected to system.
    Not sure what is going on. IS there s limit to the number of Airport Extreme N's used as bridges?
    I have 2 of ther working and the last is not. First Airport Extreme N for office was bad replaced.
    Thank You
    GldnSabre

    The Netgear wireless server has control over what what devices are allowed to connect.
    Unless you tell the Netgear what devices you want to allow to connect, it will allow any wireless device to connect as long as it knows the wireless network password.
    IF.... .you were using two AirPort Extremes, and not a Netgear, the two Extremes would communicate to each other....so you would only have to enter Timed Access settings on one router and other AirPort would automatically pick those settings up.
    But, even this was not the case until the last year or so when Apple updated firmware.  A few years ago, you might have had 2 Apple AirPort Extremes on the network, but you still had to manually set up Timed Access on both devices separately.
    Bottom line, you need to setup the equivalent of Timed Access on the Netgear router.

  • Printing in TUMBLE mode not working

    hello,
    I have the problem that the TUMBLE mode does not work in my program.
    I have tested the printer with MS Word to be sure it works with my hardware and
    it succeeded.
    I use a DocPrint Object and specified the PrintRequestAttributeSet attributes OrientationRequested.LANDSCAPE and Sides.TUMBLE (=Sides.TWO_SIDED_SHORT_EDGE).
    If I change this to Sides.ONE_SIDED, the printer correctly prints each pair of sides on 2 papers (one-sided).
    If I change this to Sides.DUPLEX, the printer prints in DUPLEX mode correctly (TWO_SIDED_LONG_EDGE)
    If I change this to Sides.TUMBLE, it still prints in DUPLEX !
    If I use OrientationRequested.PORTRAIT, the printer prints always binding to the short side , like I need it (no matter if I switch to DUPLEX or TUMBLE).
    What could be the reason that the program ignores the TUMBLE attribute ?
    Here is my code:
    public static void doPrint(Print printData)  throws Exception {
                    PrintService printer = null;     
              printer = printerLookup(printerName);                         
              DocPrintJob job = printer.createPrintJob();
              DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
                    Doc doc = new SimpleDoc(printData, flavor, null);
                    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
              aset.add(OrientationRequested.LANDSCAPE);               
              aset.add(Sides.TWO_SIDED_SHORT_EDGE);
                 job.print(doc, aset); //print
    }

    Yes, it's not a permission issue. And it only happens on this one machine too. No error messages in any of the log files. This is a real tough one. I'm tempted to think that it might be a graphics driver issue. The machine with the problem is a 2008 Mac Pro with a GeForce 8800 GT. So if anyone with a similar configuration could test it I'd at least have another hint for what's going on.
    As an interesting sidenote, other capture applications like Voila work fine, which makes the graphics driver theory unlikely, but well, I'm running out of possible causes.
    Thanks,
    Jazz

Maybe you are looking for

  • HT204053 can a imac support mutilple iclouds i.e. can ecah family member have ther own cloud

    Can an IMAC support multiple iclouds, i.e. can each family member have their own cloud

  • Disabling ipv6 in iOS 8 and/or Airport base station

    I recently replaced my iPhone 4 running iOS 7 with an iPhone 6 running iOS 8.0.2.  The iPhone 4 never had any problem accessing wifi, whether at home, at work, or at various other locations. Ever since getting the iPhone 6 I've been unable to get the

  • Count number of elements

    Dear All, probably there is somethin wrong in how I use the xmlsequence... I have a table called XML_WORD with a fiels with XML Docs called XML_CONTENT As you see what I want to try is to count the number of elements into a certain node... What is wr

  • 5800 3G issues

    Hi guys, I know it's a known issue for those of us living in New York and Chicago that we can't get 3G, but i've been searching around and I havent found any info on whether or not Nokia has managed to fix that problem yet? My 5800 is not picking up

  • Database connectivity problem..! Help..!

    Hi, I have an application running on Windows platform deployed on Weblogic. This application is trying to access a Database which is configured on Redhat Linux 4 -I configure it as a JDBC connection pool in the weblogic, now if i test the connectivit